Skip to content

Commit

Permalink
add .
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatyana-js committed Feb 20, 2025
1 parent 0d65034 commit b991d03
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,25 @@ export default defineConfig({
},
},
},
// build: {
// rollupOptions: {
// output: {
// manualChunks(id) {
// if (id.includes('node_modules')) {
// return 'vendor';
// }
// return null;
// },
// },
// },
// },
build: {
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes('node_modules')) {
return 'vendor';
}
return null;
manualChunks: {
formik: ["formik"],
reactBootstrap: ["react-bootstrap"],
reactBootstrapIcons: ["react-bootstrap-icons"],
},
},
},
Expand Down

0 comments on commit b991d03

Please sign in to comment.