Skip to content

Commit

Permalink
fix(optimizer): add missing keys to hash (#7189)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Mar 6, 2022
1 parent cf6c817 commit b0c0efe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/src/node/optimizer/index.ts
Expand Up @@ -694,7 +694,9 @@ function getDepHash(root: string, config: ResolvedConfig): string {
{
mode: config.mode,
root: config.root,
define: config.define,
resolve: config.resolve,
buildTarget: config.build.target,
assetsInclude: config.assetsInclude,
plugins: config.plugins.map((p) => p.name),
optimizeDeps: {
Expand Down

0 comments on commit b0c0efe

Please sign in to comment.