mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-08-12 12:29:42 +00:00
fix: remove vite-plugin-image-optimizer
This commit is contained in:
parent
cfd9a8f198
commit
728c376885
3 changed files with 1 additions and 29 deletions
|
|
@ -3,11 +3,10 @@ import { defineConfig } from "vite";
|
|||
|
||||
import react from "@vitejs/plugin-react";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
import { ViteImageOptimizer } from "vite-plugin-image-optimizer";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), svgr(), ViteImageOptimizer({ exclude: "spritesheet.png" })],
|
||||
plugins: [react(), svgr()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue