[Bug]: panic when using compilation.rebuildModule
with CssExtractRspackPlugin
#9058
Labels
bug
Something isn't working
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 rspack-contrib/rsbuild-plugin-tailwindcss#17), and it panic when using Rspack.
I called
compilation.rebuildModule
in thefinishModules
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
pnpm install
pnpm build:rspack
<-- will panic hereThe text was updated successfully, but these errors were encountered: