Skip to content
Snippets Groups Projects
Unverified Commit 07ff8cb0 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix compression-webpack-plugin configuration (#16356)

compression-webpack-plugin 6.0.0 has changed how filenames were generated,
so from #14892 onward (Mastodon v3.3.0 and later), compressed files were
output to a file named `.gz` instead of the correct filenames.
parent 9cd724a3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ module.exports = merge(sharedConfig, {
plugins: [
new CompressionPlugin({
filename: '[path].gz[query]',
filename: '[path][base].gz[query]',
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
......
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