Former-commit-id: 6acb1af8596d35081c9c81cdf6448283f8306dd1 [formerly 6acb1af8596d35081c9c81cdf6448283f8306dd1 [formerly 6acb1af8596d35081c9c81cdf6448283f8306dd1 [formerly 6acb1af8596d35081c9c81cdf6448283f8306dd1 [formerly 83325f8194420078ab818807c5c63037f01770f2 [formerly 448a1e81504b56f77fc20104afa10bb5e9cb5ffc]]]]] Former-commit-id: a82800a6adbd2916ca293a7eab506d9518a72a9c Former-commit-id: b47d2773e9240557a7aae64c6914f4e64751cc0e Former-commit-id: f5980dbb46e1f16f6d77d101e9fe8607ab3c7c85 [formerly e48ae7270127eaea4e8af763bf1e4622b40db4f6] Former-commit-id: c89b95a5ba2467b0f7754addbbdde10eb85dbd30 Former-commit-id: 0f7591d60b3b9ed5c41f9c7f7069cc725edf018b Former-commit-id: 4d8b6b674e0d1891e4d0c3fc8e3a24f7f2e47502 Former-commit-id: 1ec48664a2bc3cf080ce3ef17ee5eb3814ae29dc Former-commit-id: fb4cb2403700d1d219821adfc3159e98e8f7c789
This commit is contained in:
parent
afaab100df
commit
a477a47913
|
|
@ -44,6 +44,17 @@ module.exports = {
|
|||
// sourcemap不包含列信息
|
||||
config => config.devtool('cheap-source-map')
|
||||
)
|
||||
// TRAVIS 构建 vue-loader 添加 filename
|
||||
.when(process.env.VUE_APP_BUILD_MODE === 'TRAVIS',
|
||||
config => config.module
|
||||
.rule('vue')
|
||||
.use('vue-loader')
|
||||
.loader('vue-loader')
|
||||
.tap(options => {
|
||||
options.exposeFilename = true
|
||||
return options
|
||||
})
|
||||
)
|
||||
// 非开发环境
|
||||
.when(process.env.NODE_ENV !== 'development', config => {
|
||||
config.optimization
|
||||
|
|
|
|||
Loading…
Reference in New Issue