-
-
Notifications
You must be signed in to change notification settings - Fork 594
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]: The dynamic import dependency module has been elevated to the entrance #8736
Comments
As a temp workaround, you could explicitly declare the external type of the dynamic imported request to externals: { vue: 'import vue', axios: 'axios' }, I'll take a look into the source code. |
The |
What does it mean. |
Compile into library mode, use |
Could you update the reproduction demo. |
Is it adding an |
To explain what does this mean is enough. |
I updated. in feat-import branch. no have export |
System Info
System:
OS: macOS 15.1.1
CPU: (8) arm64 Apple M1
Memory: 90.00 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.11.0/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v22.11.0/bin/npm
pnpm: 9.15.0 - ~/.nvm/versions/node/v22.11.0/bin/pnpm
bun: 1.1.27 - ~/.bun/bin/bun
Browsers:
Safari: 18.1.1
npmPackages:
@rspack/cli: 1.1.6 => 1.1.6
@rspack/core: 1.1.6 => 1.1.6
Details
rspack.config.js
src/index.js
src/app.js
Reproduce link
https://github.com/lzxb/rspack-dynamic-import-to-top
Reproduce Steps
pnpm i
pnpm build
The text was updated successfully, but these errors were encountered: