finished look of sidebar

This commit is contained in:
lotte
2018-11-21 09:13:02 +01:00
parent cd5c7b72c2
commit ea3a2076c7
10 changed files with 110 additions and 52 deletions

View File

@@ -27,7 +27,8 @@ module.exports = function(env, options) {
getAotPlugin('client', !!env.aot)
]
});
if (env.production) {
console.log(options.mode);
if (options.mode === 'production') {
serverConfig = webpackMerge({}, serverConfig, prodPartial);
clientConfig = webpackMerge({}, clientConfig, prodPartial);
}