Failed to extract signature
2 changed files with
3 additions and
1 deletions
-
.gitignore
-
vite.config.ts
|
@ -7,6 +7,7 @@ |
|
|
|
|
|
|
|
|
# testing |
|
|
# testing |
|
|
/coverage |
|
|
/coverage |
|
|
|
|
|
/stats.html |
|
|
|
|
|
|
|
|
# production |
|
|
# production |
|
|
/build |
|
|
/build |
|
|
|
@ -2,6 +2,7 @@ import { defineConfig } from "vite"; |
|
|
import { resolve } from "path"; |
|
|
import { resolve } from "path"; |
|
|
import react from "@vitejs/plugin-react"; |
|
|
import react from "@vitejs/plugin-react"; |
|
|
import svgr from "@svgr/rollup"; |
|
|
import svgr from "@svgr/rollup"; |
|
|
|
|
|
import { visualizer as visualiser } from "rollup-plugin-visualizer"; |
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
// https://vitejs.dev/config/
|
|
|
export default defineConfig({ |
|
|
export default defineConfig({ |
|
@ -11,12 +12,12 @@ export default defineConfig({ |
|
|
Object.assign(svgr({ ref: true, svgo: false }), { |
|
|
Object.assign(svgr({ ref: true, svgo: false }), { |
|
|
enforce: "pre", |
|
|
enforce: "pre", |
|
|
} as const), |
|
|
} as const), |
|
|
|
|
|
visualiser(), |
|
|
], |
|
|
], |
|
|
build: { |
|
|
build: { |
|
|
rollupOptions: { |
|
|
rollupOptions: { |
|
|
input: { |
|
|
input: { |
|
|
main: resolve(__dirname, "index.html"), |
|
|
main: resolve(__dirname, "index.html"), |
|
|
blog: resolve(__dirname, "blog.html"), |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|