Skip to content
Snippets Groups Projects
Unverified Commit 7972e598 authored by Yurii Izorkin's avatar Yurii Izorkin Committed by GitHub
Browse files

Add brotli compression (#19025)

parent 1e95fa3d
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,12 @@ module.exports = merge(sharedConfig, {
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
new CompressionPlugin({
filename: '[path][base].br[query]',
algorithm: 'brotliCompress',
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
new BundleAnalyzerPlugin({ // generates report.html
analyzerMode: 'static',
openAnalyzer: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment