diff --git a/package-lock.json b/package-lock.json index 75e9137..3cd4a27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,8 +26,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", "typescript": "^5.2.2", - "vite": "^4.5.0", - "vite-plugin-singlefile": "^0.13.5" + "vite": "^4.5.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -3253,22 +3252,6 @@ } } }, - "node_modules/vite-plugin-singlefile": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/vite-plugin-singlefile/-/vite-plugin-singlefile-0.13.5.tgz", - "integrity": "sha512-y/aRGh8qHmw2f1IhaI/C6PJAaov47ESYDvUv1am1YHMhpY+19B5k5Odp8P+tgs+zhfvak6QB1ykrALQErEAo7g==", - "dev": true, - "dependencies": { - "micromatch": "^4.0.5" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "peerDependencies": { - "rollup": ">=2.79.0", - "vite": ">=3.2.0" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 6f6cfff..8533d8a 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,6 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", "typescript": "^5.2.2", - "vite": "^4.5.0", - "vite-plugin-singlefile": "^0.13.5" + "vite": "^4.5.0" } } diff --git a/vite.config.ts b/vite.config.ts index c82a505..c25d079 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,5 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' -import { viteSingleFile } from "vite-plugin-singlefile" import path from 'path'; // https://vitejs.dev/config/ @@ -21,5 +20,5 @@ export default defineConfig({ outDir: 'dist', emptyOutDir: true, }, - plugins: [react(), viteSingleFile({ useRecommendedBuildConfig: false })], + plugins: [react()], })