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
When attempting to import a library that provides both JS and SCSS files in SCSS using @import, the JS file is imported instead of the SCSS, causing a build error.
I might be wrong, but after looking at the changelog, I have a feeling that "feat!: use native resolver in loader by @bvanjoi in #4945" might be related.
System Info
Details
When attempting to import a library that provides both JS and SCSS files in SCSS using
@import
, the JS file is imported instead of the SCSS, causing a build error.I am using the following rule:
The same issue occurs even when using the following configuration with experiments.css is true:
I have confirmed that the build works without issues when using Webpack.
Reproduce link
Thiry1/rspack-bug-repro@3a294f0
Reproduce Steps
The text was updated successfully, but these errors were encountered: