aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack.common.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-19 18:07:11 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-19 18:07:11 +0200
commite8ad8fdcd70f2388433068847f9d028036bc0311 (patch)
treec3eb50db0362931d4bca273a3e2e45dcd2c80b66 /config/webpack.common.js
parent86c5848ff07990646aa7bf320af45946661a23fa (diff)
build: fix webpack runtime config
Some errors occured when updating scss files. It seems to be a runtime issue: by adding a single runtime I no longer have errors.
Diffstat (limited to 'config/webpack.common.js')
-rw-r--r--config/webpack.common.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.common.js b/config/webpack.common.js
index 84515bb..69ecd2f 100644
--- a/config/webpack.common.js
+++ b/config/webpack.common.js
@@ -51,6 +51,9 @@ module.exports = {
],
},
optimization: {
+ runtimeChunk: {
+ name: 'js/runtime',
+ },
splitChunks: {
cacheGroups: {
style: {