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

feat: 4.x 为什么不支持 minify 和 移除注解? #778

Closed
Flcwl opened this issue Sep 1, 2024 · 3 comments
Closed

feat: 4.x 为什么不支持 minify 和 移除注解? #778

Flcwl opened this issue Sep 1, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Flcwl
Copy link

Flcwl commented Sep 1, 2024

What problem does this feature solve?

期望和V2一样,能够支持 minify

Possible Solution (optional)

No response

@Flcwl Flcwl added the enhancement New feature or request label Sep 1, 2024
@Jinbao1001
Copy link
Member

很抱歉, 没有找到理由支持 bundless 的文件的压缩

@Jinbao1001 Jinbao1001 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@Flcwl
Copy link
Author

Flcwl commented Nov 7, 2024

很抱歉, 没有找到理由支持 bundless 的文件的压缩

  1. 假如npm都压缩,节省安装体积减少带宽,对公司来说是非常有意义的。
  2. 有些非开源的npm包代码,希望混淆代码增加抄袭成本

@Jinbao1001
Copy link
Member

可以配置 extraBabelPlugins 自行添加babel-preset-minify插件解决

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

No branches or pull requests

2 participants