Open
Description
System Info
rspack 1.4.0
Details
After upgrading rspack from 1.3.11 to 1.4.0, we're getting this browserslist error:
Error: No browserslist config found to handle the 'browserslist' target.
We have a monorepo setup that exports a shared config as @company/browserslist-config/b2b
.
We use the browserslist
field in the app package.json to use the shared setting
"browserslist": [
"extends @company/browserslist-config/b2b"
],
and rspack config simply specifies
target: 'browserslist'
This worked fine in the previous versions of rspack but stopped working after the upgrade to 1.4
Reproduce link
No response
Reproduce Steps
- create a project using rspack 1.4.0
- set
target: 'browserslist'
in rspack config - use
extends
in browserslist query
Metadata
Metadata
Assignees
Labels
No labels