added in missing priority stats on webpack.config

This commit is contained in:
Mason
2018-10-18 12:48:22 -07:00
parent 91d13a5a0c
commit 273bf080b5
+5 -4
View File
@@ -32,13 +32,14 @@ let buildconfig = {
styles: {
name: "base",
chunks: "all",
enforce: true,
test: m => m.constructor.name == "CssModule"
test: m => m.constructor.name == "CssModule",
priority: -5
},
libs: {
name: "libs",
test: /(node_modules|galaxy\/scripts\/(?!apps))/, // .*\.(vue|js)$
chunks: "all"
test: /(node_modules|galaxy\/scripts\/(?!apps)).*\.(vue|js)$/, // .*\.(vue|js)$
chunks: "all",
priority: -10
}
}
}