diff --git a/package.json b/package.json index 0d7135f..3524661 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,10 @@ "vite-plugin-css-injected-by-js": "^5.0.0", "vite-plugin-minify": "^3.0.0", "vite-plugin-static-copy": "^4.1.0" + }, + "overrides": { + "nanoid": "^3.3.18", + "postcss": "^8.5.23", + "svgo": "^4.1.0" } } \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index b10d13a..29707d4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -7,14 +7,14 @@ export default defineConfig({ viteStaticCopy({ targets: [ { - src: 'App/assets/fonts/*', + src: 'App/assets/fonts/**/*', dest: 'fonts', - rename: { stripBase: true }, + rename: { stripBase: 3 }, }, { - src: 'App/assets/images/*', + src: 'App/assets/images/**/*', dest: 'images/app/', - rename: { stripBase: true }, + rename: { stripBase: 3 }, }, ], }), @@ -55,4 +55,4 @@ export default defineConfig({ } ], }, -}); \ No newline at end of file +});