Skip to content

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

Open
alwaystom wants to merge 1 commit intoyangzongzhuan:masterfrom
alwaystom:patch-1
Open

fix: 修复staging环境下babel env不正确导致的打包问题#91
alwaystom wants to merge 1 commit intoyangzongzhuan:masterfrom
alwaystom:patch-1

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