-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug]qiankun好像不支持esmodule的语法 #2956
Comments
是的,因为 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提问之前强烈建立您能先阅读一下《如何正确的提出一个 Issue》
What happens?
如果子应用中js使用了esmodule的语法,例如import {} from 'xxx',或者import.meta ,或者export const aa = 3;
都会提示Cannot use xxxxx outside a module
例如 Cannot use 'import.meta' outside a module
感觉和底层用eval执行有关系。
最小可复现仓库
为节约大家的时间,无复现步骤的 ISSUE 会被关闭,提供之后再 REOPEN
复现步骤,错误日志以及相关配置
相关环境信息
The text was updated successfully, but these errors were encountered: