Skip to content
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

用npx webpack打包后有报错 #76

Open
snyanwei opened this issue Mar 26, 2024 · 8 comments
Open

用npx webpack打包后有报错 #76

snyanwei opened this issue Mar 26, 2024 · 8 comments

Comments

@snyanwei
Copy link

用npx webpack打包后有报错

@klover2
Copy link
Owner

klover2 commented Mar 27, 2024

npx webpack

报什么错误

@snyanwei
Copy link
Author

snyanwei commented Apr 2, 2024

err
启动打包后的代码报错

@klover2
Copy link
Owner

klover2 commented Apr 2, 2024

err 启动打包后的代码报错

这不是我的包内方法报错

@bzwke
Copy link

bzwke commented Apr 26, 2024

这个问题我打包完启动dist报错,后面我经测试引入库就会,开发阶段可以正常使用

@bzwke
Copy link

bzwke commented Apr 26, 2024

犯 错启动打包后的代码报错

哥们,请教一下,你怎么处理这问题的?

@snyanwei
Copy link
Author

呃启动压缩后的代码报错

这不是我的包内方法报错

是包内方法报错,只不过是因为做了代码混淆,所以看不出是哪里报错,bzwke这哥们也出现了同样的错误么不是

@snyanwei
Copy link
Author

犯错启动压缩后的代码报错

哥们,请教一下,你怎么处理这个问题的?

换官方的

@bzwke
Copy link

bzwke commented Jun 7, 2024

我接手项目估计打包设置了什么东西与包有冲突,开发模式下可以正常使用,最后无奈也是换成官方那种

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants