-
-
Notifications
You must be signed in to change notification settings - Fork 781
Closed
Copy link
Description
System Info
System:
OS: macOS 14.7
CPU: (8) arm64 Apple M2
Memory: 90.69 MB / 24.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 22.14.0 - ~/.nodebrew/current/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.9.2 - ~/.nodebrew/current/bin/npm
pnpm: 8.15.3 - ~/.nodebrew/current/bin/pnpm
Browsers:
Chrome: 134.0.6998.89
Chrome Canary: 136.0.7072.0
Edge: 134.0.3124.68
Safari: 18.0
npmPackages:
@rspack/cli: ^1.2.8 => 1.2.8
@rspack/core: ^1.2.8 => 1.2.8
Details
Build hangs on error when setting api: "modern-compiler" in sass-loader.
In webpack, the process exits when an error occurs.
Removing the following setting allows the process to exit in rspack as well:
{
loader: "sass-loader",
options: {
- api: "modern-compiler",
implementation: require("sass-embedded"),
}
}Reproduce link
https://github.com/Thiry1/rspack-bug-repro/compare/hang-sass-loader
Reproduce Steps
- clone repro repo
- git switch hang-sass-loader
- npm i
- npm run build:rspack
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels