Skip to content

Commit

Permalink
fix: make vite optimize prebundle for dev (vitejs#11387)
Browse files Browse the repository at this point in the history
  • Loading branch information
hershelh authored and futurGH committed Feb 26, 2023
1 parent 5620b63 commit 762c5c7
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 762c5c7

Please sign in to comment.