Skip to content

Commit

Permalink
fix: still account for plugins in optimizer hash
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 29, 2021
1 parent 725f9d7 commit 82dce90
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 @@ -299,6 +299,7 @@ function getDepHash(root: string, config: ResolvedConfig): string {
alias: config.alias,
dedupe: config.dedupe,
assetsInclude: config.assetsInclude,
plugins: config.plugins.map((p) => p.name),
optimizeDeps: {
include: config.optimizeDeps?.include,
exclude: config.optimizeDeps?.exclude
Expand Down

0 comments on commit 82dce90

Please sign in to comment.