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

请问为什么一直在安装「npm包@tarojs/plugin-uglifyjs」 #6

Closed
Kennytian opened this issue Jun 6, 2018 · 3 comments
Closed

Comments

@Kennytian
Copy link

image

@luckyadam
Copy link
Member

可能是自动安装npm功能有点问题~
暂时用 taro build --type weapp --watch 来预览吧~
或者自行在项目目录下安装 @tarojs/plugin-uglifyjs
下个版本修复这个bug

@Kennytian
Copy link
Author

请问是执行 yarn add --dev @tarojs/plugin-uglifyjs 吗?

@Kennytian
Copy link
Author

Kennytian commented Jun 6, 2018

  1. yarn add --dev @tarojs/plugin-uglifyjs

  2. taro build --type weapp --watch

之后好了,谢谢!

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

2 participants