Skip to content

Commit

Permalink
exclude node modules from pre bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin committed Feb 29, 2024
1 parent fa5869f commit f3400d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-shell/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default defineConfig(
esbuildOptions: {
target: 'CommonJs',
},
exclude: ['node_modules']
},
define: {
'process.env': process.env,
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default defineConfig({
esbuildOptions: {
target: 'es2020',
},
exclude: ['node_modules']
},
css: {
postcss: {
Expand Down

0 comments on commit f3400d8

Please sign in to comment.