Skip to content

Commit

Permalink
fix(preset-umi): ssr build time, Close #913
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jun 23, 2022
1 parent 6035f55 commit cc20f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-umi/src/features/ssr/ssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export { React };
});
});

api.onStart(async () => {
api.onBeforeCompiler(async () => {
await build({
api,
watch: api.env === 'development',
Expand Down

0 comments on commit cc20f57

Please sign in to comment.