-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
生产环境下,生成的sourcemap文件不对应源码,而是未压缩的产物 #16034
Comments
进一步排查后,发现只有页面会这样,页面引用的组件还是对应源码 |
This was referenced Jul 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 和小程序版本无关
使用框架: React
复现步骤
操作步骤:任意一个hello word项目编译后,查看首页的源码及.map文件。
示例
taro源码(最简单的示例):
生成的sourcemap
其中sourcesContent对应的源码部分,可以看出明显不是taro源码:
期望结果
期望sourcemap对应的是taro源码
实际结果
现在结果是对应编译后的产物
环境信息
The text was updated successfully, but these errors were encountered: