Skip to content

[Bug]: css syntax lowering functionality fails when builtin:lightningcss-loader + css-loader + postcss-loader are used together #7798

@xierenyuan

Description

@xierenyuan

System Info

System:
OS: macOS 13.4
CPU: (12) arm64 Apple M2 Pro
Memory: 216.27 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.2/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
pnpm: 8.15.8 - ~/Library/pnpm/pnpm
bun: 1.0.25 - ~/.bun/bin/bun
Watchman: 2023.08.28.00 - /opt/homebrew/bin/watchman
Browsers:
Safari: 16.5

Details

启用 postcss-loader 后 css 降级功能不生效 (css degradation does not work when postcss-loader is enabled)
启用 (enabled)
image
关闭 (disable)
image
配置 (rspack config)
image

Reproduce link

No response

Reproduce Steps

rspack-project.zip 最小复现

pnpm install
pnpm build

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions