Skip to content

Commit

Permalink
fix: make vite optimize prebundle for dev (#11387)
Browse files Browse the repository at this point in the history
fixes #11005
  • Loading branch information
hershelh committed Dec 17, 2022
1 parent 57276b7 commit b4ced0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/cli.ts
Expand Up @@ -277,7 +277,7 @@ cli
configFile: options.config,
logLevel: options.logLevel,
},
'build',
'serve',
)
await optimizeDeps(config, options.force, true)
} catch (e) {
Expand Down

0 comments on commit b4ced0f

Please sign in to comment.