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

fix: 修复staging环境下babel env不正确导致的打包问题 #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alwaystom
Copy link

@alwaystom alwaystom commented Oct 15, 2024

vue-cli 在非自带mode下,如"staging",会出现BABEL_ENV不遵循NODE_ENV的情况,见issue: vuejs/vue-cli#6877, 导致出现staging mode下打包会因为dynamic-import-plugin的原因无法完整打包,通过显式指定BABEL_ENV可以解决该问题

@alwaystom
Copy link
Author

https://gitee.com/y_project/RuoYi-Vue/issues/I4PZJF 即这个issue的原因

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

Successfully merging this pull request may close these issues.

1 participant