We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 [问题描述:尽可能简洁清晰地把问题描述清楚] 在微信小程序开发工具中,source-map模式可以正常调试,但是在头条和百度小程序开发工具中,应该要inline-source-map等模式才可以正常调试 复现步骤 [复现问题的步骤]
[或者可以直接贴源代码]
预期结果 [使用简洁清晰的语言描述你希望生效的预期结果] 开放配置,各个小程序可以独立配置source-map模式 实际结果 [这里请贴上你的报错截图或文字]
系统信息:
npm run info
补充信息 [可选] [根据你的分析,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered:
根目录创建 vue.config.js
const vueConfig = { configureWebpack: { } } if ( process.env.NODE_ENV !== 'production' && ( process.env.UNI_PLATFORM === 'mp-baidu' || process.env.UNI_PLATFORM === 'mp-toutiao' ) ) { vueConfig.configureWebpack.devtool = 'inline-source-map' } module.exports = vueConfig
Sorry, something went wrong.
谢谢
fix(mp): devtool = 'inline-source-map' (mp-baidu,mp-toutiao) #724
9cc1a21
No branches or pull requests
问题描述
[问题描述:尽可能简洁清晰地把问题描述清楚]
在微信小程序开发工具中,source-map模式可以正常调试,但是在头条和百度小程序开发工具中,应该要inline-source-map等模式才可以正常调试
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码]
预期结果
[使用简洁清晰的语言描述你希望生效的预期结果]
开放配置,各个小程序可以独立配置source-map模式
实际结果
[这里请贴上你的报错截图或文字]
系统信息:
npm run info
的运行结果]补充信息
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered: