fix: 修复 VueFilenameInjector 配置
This commit is contained in:
@@ -98,8 +98,9 @@ module.exports = {
|
|||||||
config => config.devtool('cheap-source-map')
|
config => config.devtool('cheap-source-map')
|
||||||
)
|
)
|
||||||
// 预览环境构建 vue-loader 添加 filename
|
// 预览环境构建 vue-loader 添加 filename
|
||||||
.when(process.env.VUE_APP_SCOURCE_LINK === 'TRUE',
|
.when(
|
||||||
VueFilenameInjector(config, {
|
process.env.VUE_APP_SCOURCE_LINK === 'TRUE',
|
||||||
|
config => VueFilenameInjector(config, {
|
||||||
propName: process.env.VUE_APP_SOURCE_VIEWER_PROP_NAME
|
propName: process.env.VUE_APP_SOURCE_VIEWER_PROP_NAME
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user