-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Can't extend browserslist config #2443
Comments
SWC uses browserslist/browserslist-rs@04fcad2 So we need to wait for browserslist-rs and SWC to release a new version, it will take some time. |
Oh thanks a lot for your quick actions and response, until then I guess passing through the |
@chenjiahan They just released the |
Nice 👍 The next step is to make SWC bump the dependency version, can you create an issue in the SWC repo? |
Actually, it's already there swc-project/swc#9023 |
There is some discussion about switching from browserslist-rs to oxc-browserslist, which may take some time to resolve. |
Yeah I saw that too, would that switch be good for you? I can't see if that would fix our issue here or not. |
Bumping browserslist-rs will fix our issue, I'm not sure if switching will solve it. |
They chose to upgrade |
Version
Details
Hi here 👋
I want to report that when using rsbuild (see the repo with a fresh create-rsbuild project), we can't
extends
a browserslist config from the npm package through thepackage.json
(same thing if I do through a.browserslistrc
file):Note: When I passe that config directory through the
output.overrideBrowserslist
property in thersbuild.config.ts
config file, it works correctly.Reproduce link
https://github.com/CPatchane/rsbuild-browserslist-issue
Reproduce Steps
Just run
pnpm dev
orpnpm build
The text was updated successfully, but these errors were encountered: