Skip to content

Commit

Permalink
feat(dev): support keepNames for dependencies (#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet authored Mar 6, 2021
1 parent 209232c commit b5cd8c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export async function optimizeDeps(
await esbuildService.build({
entryPoints: Object.keys(flatIdDeps),
bundle: true,
keepNames: true,
format: 'esm',
external: config.optimizeDeps?.exclude,
logLevel: 'error',
Expand Down

0 comments on commit b5cd8c8

Please sign in to comment.