|
@ -1,7 +1,6 @@ |
|
|
import { defineConfig } from "vite"; |
|
|
import { defineConfig } from "vite"; |
|
|
import reactRefresh from "@vitejs/plugin-react-refresh"; |
|
|
import reactRefresh from "@vitejs/plugin-react-refresh"; |
|
|
import svgr from "@svgr/rollup"; |
|
|
import svgr from "@svgr/rollup"; |
|
|
import reactJsx from "vite-react-jsx"; |
|
|
|
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
// https://vitejs.dev/config/
|
|
|
export default defineConfig({ |
|
|
export default defineConfig({ |
|
@ -12,12 +11,9 @@ export default defineConfig({ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
plugins: [ |
|
|
plugins: [ |
|
|
reactJsx(), |
|
|
|
|
|
reactRefresh(), |
|
|
reactRefresh(), |
|
|
Object.assign( |
|
|
Object.assign( |
|
|
svgr({ |
|
|
svgr({ |
|
|
// memo: true,
|
|
|
|
|
|
// icon: true,
|
|
|
|
|
|
ref: true, |
|
|
ref: true, |
|
|
svgo: false, |
|
|
svgo: false, |
|
|
}), |
|
|
}), |
|
|