pref: webpack3.6.0升级4.46.0

This commit is contained in:
zhangshuai
2022-11-16 11:17:31 +08:00
parent dfd745ecdb
commit 6ef5613550
7 changed files with 4259 additions and 4080 deletions

View File

@@ -16,6 +16,7 @@ const devStart = process.env.npm_lifecycle_event
const indexHtml = devStart === 'dev' ? 'src/entrance/app/index.html' : 'src/entrance/exportHtml/exportHtml.html'
let devWebpackConfig = ''
devWebpackConfig = merge(baseWebpackConfig, {
mode: 'development',
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })
},