From 273bf080b53e2b8cf8acfaa17ab0bcd1bbb82de0 Mon Sep 17 00:00:00 2001 From: Mason Date: Thu, 18 Oct 2018 12:48:22 -0700 Subject: [PATCH] added in missing priority stats on webpack.config --- client/webpack.config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/webpack.config.js b/client/webpack.config.js index 246053cf920..9ab4af299b5 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -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 } } }