From 4db450237d95d983941cd7782a9148a2f8219023 Mon Sep 17 00:00:00 2001 From: iizmg Date: Fri, 24 Apr 2020 08:02:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/build/webpack.prod.conf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/build/webpack.prod.conf.js b/admin/build/webpack.prod.conf.js index 2f17259..a0b6a0d 100644 --- a/admin/build/webpack.prod.conf.js +++ b/admin/build/webpack.prod.conf.js @@ -19,7 +19,7 @@ const webpackConfig = merge(baseWebpackConfig, { module: { rules: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, - extract: true, + extract: false, usePostCSS: true }) }, @@ -48,7 +48,7 @@ const webpackConfig = merge(baseWebpackConfig, { filename: utils.assetsPath('css/[name].[contenthash].css'), // Setting the following option to `false` will not extract CSS from codesplit chunks. // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. - // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, + // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 allChunks: true, }),