Skip to content

Commit 8ca73cd

Browse files
committed
set brotli to text mode
1 parent 7305521 commit 8ca73cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ module.exports = {
313313
algorithm: 'brotliCompress',
314314
test: /\.(js|css)$/,
315315
compressionOptions: {
316+
[constants.BROTLI_PARAM_MODE]: constants.BROTLI_MODE_TEXT,
316317
[constants.BROTLI_PARAM_QUALITY]: constants.BROTLI_MAX_QUALITY,
317318
},
318319
}),

0 commit comments

Comments
 (0)