Skip to content

Commit

Permalink
docs: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Mar 2, 2024
1 parent 5acd902 commit 955ebeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bundler-webpack/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function createServer(opts: IOpts): Promise<any> {
}),
);

// enable compression if UMI_DEV_SERVER_COMPRESS is not none
// See https://github.com/umijs/umi/issues/12144
if (process.env.UMI_DEV_SERVER_COMPRESS !== 'none') {
app.use(require('@umijs/bundler-webpack/compiled/compression')());
}
Expand Down

0 comments on commit 955ebeb

Please sign in to comment.