Disable chunking

This commit is contained in:
Laura Hausmann 2023-10-09 13:53:35 +02:00
parent 9078917012
commit d235afc303
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -57,8 +57,7 @@ module.exports = {
entry: entries, entry: entries,
output: { output: {
filename: 'js/[name]-[chunkhash].js', filename: 'js/[name].js',
chunkFilename: 'js/[name]-[chunkhash].chunk.js',
hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js', hotUpdateChunkFilename: 'js/[id]-[hash].hot-update.js',
hashFunction: 'sha256', hashFunction: 'sha256',
crossOriginLoading: 'anonymous', crossOriginLoading: 'anonymous',
@ -103,8 +102,7 @@ module.exports = {
}, },
), ),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: 'css/[name]-[contenthash:8].css', filename: 'css/[name].css',
chunkFilename: 'css/[name]-[contenthash:8].chunk.css',
}), }),
new AssetsManifestPlugin({ new AssetsManifestPlugin({
integrity: true, integrity: true,