-
Notifications
You must be signed in to change notification settings - Fork 160
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]: Compilation errors occur when using extensionAlias
with package names ending in *.js
#3557
Comments
I still cannot reproduce this issue, but the edge case bugs seem to exist and I will revert the feature before we fix it. |
I also get the same error message with module @ant-design/pro-layout |
Perhaps you missed some steps, such as not adding |
This is the same issue because |
let me reproduce it and fix in rspack-resolver |
Fixed by web-infra-dev/rspack-resolver#31 |
Version
Browsers: Edge: Chromium (127.0.2651.74) npmPackages: @rsbuild/core: 1.0.6 => 1.0.6
Details
In version 1.0.6, I noticed that the
rspack.config.js
generated by rsbuild includes anextensionAlias
configuration.If you install
packageA
, which has dependencies with package names ending in*.js
, andpackageA
includes anode_modules
folder, you'll encounter a compilation error.× All of the aliased extensions are not found for ....
You can reproduce it through the following steps:
Reproduce link
https://rsbuild.dev/guide/start/quick-start
Reproduce Steps
As mentioned above.
The text was updated successfully, but these errors were encountered: