Can't use in rspack when have style block
Gehbt opened this issue · 2 comments
Gehbt commented
Describe the bug
when vue sfc include a style block, plugin will run fail.
That will work in webpack.
Reproduction
https://github.com/Gehbt/uv-bug-repo
System Info
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 28.53 GB / 63.67 GB
Binaries:
Node: 20.12.2 - ~\AppData\Local\fnm_multishells\16328_1725520498457\node.EXE
Yarn: 1.22.19 - ~\AppData\Local\fnm_multishells\16328_1725520498457\yarn.CMD
npm: 10.5.0 - ~\AppData\Local\fnm_multishells\16328_1725520498457\npm.CMD
pnpm: 9.9.0 - ~\AppData\Local\fnm_multishells\16328_1725520498457\pnpm.CMD
bun: 1.1.26 - ~\.bun\bin\bun.EXE
Browsers:
Edge: Chromium (127.0.2651.74), ChromiumDev (128.0.2677.1)
Internet Explorer: 11.0.22621.3527
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
sxzz commented
Reported it upstream unjs/unplugin#415
sxzz commented
Fix & released as 5.1.5