You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LingyuCoder
changed the title
[Bug]: webpackIgnore magic comment is not working for new URL calls
[Feature]: webpackIgnore magic comment is not working for new URL calls
May 23, 2025
Uh oh!
There was an error while loading. Please reload this page.
System Info
System:
OS: macOS 15.3.2
CPU: (8) arm64 Apple M1
Memory: 100.50 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.1 - ~/.nvm/versions/node/v22.13.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.13.1/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.13.1/bin/npm
Browsers:
Chrome: 136.0.7103.114
Edge: 136.0.3240.76
Safari: 18.3.1
npmPackages:
@rspack/cli: ^1.3.11 => 1.3.11
@rspack/core: ^1.3.11 => 1.3.11
@rspack/dev-server: ^1.1.2 => 1.1.2
@rspack/plugin-minify: ^0.7.5 => 0.7.5
@rspack/plugin-react-refresh: ^1.4.3 => 1.4.3
Details
I'm using an external package that has a Worker that should not be bundled within my application, so the implementation looks like this:
When I bundle my application with Webpack, it works well, externalizing the Worker:
But when I use Rspack, the Worker is bundled (which is incorrect):
So it seems that the
/* webpackIgnore: true */
comment is not working wellReproduce link
No response
Reproduce Steps
npx nx run my-app:build
The text was updated successfully, but these errors were encountered: