We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca73cd commit 257f44fCopy full SHA for 257f44f
webpack.config.js
@@ -313,8 +313,10 @@ module.exports = {
313
algorithm: 'brotliCompress',
314
test: /\.(js|css)$/,
315
compressionOptions: {
316
- [constants.BROTLI_PARAM_MODE]: constants.BROTLI_MODE_TEXT,
317
- [constants.BROTLI_PARAM_QUALITY]: constants.BROTLI_MAX_QUALITY,
+ params: {
+ [constants.BROTLI_PARAM_MODE]: constants.BROTLI_MODE_TEXT,
318
+ [constants.BROTLI_PARAM_QUALITY]: constants.BROTLI_MAX_QUALITY,
319
+ }
320
},
321
}),
322
].filter((plugin) => !!plugin),
0 commit comments