提交 9cc1a216 编写于 作者: fxy060608's avatar fxy060608

fix(mp): devtool = 'inline-source-map' (mp-baidu,mp-toutiao) #724

上级 11d37225
...@@ -79,6 +79,11 @@ module.exports = { ...@@ -79,6 +79,11 @@ module.exports = {
} else { } else {
devtool = 'eval' devtool = 'eval'
} }
} else if (
process.env.UNI_PLATFORM === 'mp-baidu' ||
process.env.UNI_PLATFORM === 'mp-toutiao'
) {
devtool = 'inline-source-map'
} else { } else {
devtool = 'sourcemap' devtool = 'sourcemap'
} }
......
{ {
"name": "@dcloudio/vue-cli-plugin-uni", "name": "@dcloudio/vue-cli-plugin-uni",
"version": "0.9.534", "version": "0.9.536",
"description": "uni-app plugin for vue-cli 3", "description": "uni-app plugin for vue-cli 3",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册