-
-
Notifications
You must be signed in to change notification settings - Fork 738
Open
Labels
featNew feature or requestNew feature or request
Description
System Info
System:
OS: macOS 15.7.1
CPU: (10) arm64 Apple M4
Memory: 96.72 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.19.4 - /Users/ayman/.nvm/versions/node/v20.19.4/bin/node
npm: 11.6.1 - /Users/ayman/.nvm/versions/node/v20.19.4/bin/npm
pnpm: 10.20.0 - /Users/ayman/.nvm/versions/node/v20.19.4/bin/pnpm
Watchman: 2025.07.28.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 142.0.7444.162
Safari: 26.0.1
npmPackages:
@rspack/cli: ^1.6.0 => 1.6.0
@rspack/core: ^1.6.0 => 1.6.0
Details
i am trying to port custom file scheme handling logic to rspack but it fails. this works in webpack.
ERROR in custom:scheme-file
× Module build failed:
╰─▶ × Reading from "custom:scheme-file" is not handled by plugins (Unhandled scheme).
│ Rspack supports "data:" and "file:" URIs by default.
│ You may need an additional plugin to handle "custom:" URIs.
Reproduce link
https://github.com/Deku-nattsu/rspack-custom-scheme-repro
Reproduce Steps
npm run build
Metadata
Metadata
Assignees
Labels
featNew feature or requestNew feature or request