We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the vite-plugin-federation library, build the version and find that "import.meta" is converted to "import_meta"
配合使用 vite-plugin-federation 库,构建版本,发现 “import.meta” 被转换成 “ import_meta”
The text was updated successfully, but these errors were encountered:
After source code debugging, it was found that it was caused by the buildRawTarget function 经过源码调试,发现是buildRawTarget函数导致的
Sorry, something went wrong.
你原本项目的 Vite target 是什么?我的原理是首先以 esnext 编译然后转译,很可能是做了一些 transpile 变成这样的。这里 import_meta 看起来像是上面有一个 const import_meta = import_meta_available ? import.meta : some_polyfill 之类的东西?
能提供一个复现吗
No branches or pull requests
With the vite-plugin-federation library, build the version and find that "import.meta" is converted to "import_meta"
配合使用 vite-plugin-federation 库,构建版本,发现 “import.meta” 被转换成 “ import_meta”
The text was updated successfully, but these errors were encountered: