Webpack: copy files into /static instead of starting them there

This commit is contained in:
Alex Gleason
2021-09-03 13:06:04 -05:00
parent 71a6615219
commit bc759c87b2
14 changed files with 14 additions and 19 deletions

View File

@ -36,7 +36,10 @@ module.exports = merge(sharedConfig, {
plugins: [
new CompressionPlugin({
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map|mp3|ogg|oga)$/,
exclude: [
'instance',
],
}),
new BundleAnalyzerPlugin({ // generates report.html
analyzerMode: 'static',