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

VITE_LEGACY 配置参数似乎是无效的 #2

Open
kewab opened this issue Oct 29, 2022 · 4 comments
Open

VITE_LEGACY 配置参数似乎是无效的 #2

kewab opened this issue Oct 29, 2022 · 4 comments
Labels
question Further information is requested

Comments

@kewab
Copy link

kewab commented Oct 29, 2022

.env.production 配置文件内的 VITE_LEGACY 是不是没有使用呢?

@ElanYoung
Copy link
Owner

.env.production 配置文件内的 VITE_LEGACY 是不是没有使用呢?

是的 没有使用呢 后续如果有这方面需求会加入这个插件

@ElanYoung
Copy link
Owner

.env.production 配置文件内的 VITE_LEGACY 是不是没有使用呢?

后续会在此模板基础上开发出一套完整的示例项目(包括后端)

@ElanYoung ElanYoung added the question Further information is requested label Oct 29, 2022
@kewab
Copy link
Author

kewab commented Oct 29, 2022

打包之后发现代码没有压缩也没有混淆,有这方面的配置或者最佳方案吗

@ElanYoung
Copy link
Owner

打包之后发现代码没有压缩也没有混淆,有这方面的配置或者最佳方案吗

可以使用 vite-plugin-compression 打包插件等等,优化这块还没做,后面会把插件都拆分出来

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

No branches or pull requests

2 participants