-
-
Notifications
You must be signed in to change notification settings - Fork 782
Description
System Info
System:
OS: macOS 14.6.1
CPU: (12) arm64 Apple M2 Max
Memory: 22.86 GB / 96.00 GB
Shell: 3.7.1 - /opt/homebrew/bin/fish
Binaries:
Node: 22.11.0 - ~/.local/state/fnm_multishells/55468_1736834119128/bin/node
npm: 10.9.0 - ~/.local/state/fnm_multishells/55468_1736834119128/bin/npm
pnpm: 9.15.2 - ~/.local/state/fnm_multishells/55468_1736834119128/bin/pnpm
Browsers:
Chrome: 131.0.6778.265
Safari: 17.6
npmPackages:
@rspack/cli: ^1.1.8 => 1.1.8
@rspack/core: ^1.1.8 => 1.1.8
Details
I'm trying to implement a Tailwind CSS V4 plugin for Rspack(see rstackjs/rsbuild-plugin-tailwindcss#17), and it panic when using Rspack.
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: should have event sender
Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:226
I called compilation.rebuildModule in the finishModules hook just like the documentation does. But it seems to crash when rebuilding a CSS module.
Reproduce link
https://github.com/colinaaa-reproductions/rspack-repro-rebuildModule-panic
Reproduce Steps
- Run
pnpm install pnpm build:rspack<-- will panic here