Comments (2)
Also, browserslist queries are valid. Here supported browsers using by my query
npx browserslist --stats=./browserslist-stats.json
and_chr 124
chrome 125
chrome 124
chrome 123
chrome 122
edge 125
edge 124
edge 123
edge 122
firefox 126
firefox 125
firefox 124
firefox 123
firefox 115
firefox 102
ios_saf 17.5
ios_saf 17.4
ios_saf 17.3
ios_saf 17.2
ios_saf 17.1
ios_saf 17.0
ios_saf 16.6-16.7
ios_saf 16.5
ios_saf 16.4
ios_saf 16.3
ios_saf 16.2
ios_saf 16.1
ios_saf 16.0
safari 17.5
safari 17.4
safari 17.3
safari 17.2
safari 17.1
safari 17.0
safari 16.6
safari 16.5
safari 16.4
safari 16.3
safari 16.2
safari 16.1
safari 16.0
safari 15.6
from swc.
I think this problem caused by limitations of rust ported browserslist
https://github.com/browserslist/browserslist-rs?tab=readme-ov-file#limitations
You can use original browserslist in your webpack config and pass it to swc. Something like https://lightningcss.dev/docs.html#with-webpack
from swc.
Related Issues (20)
- 1.7.0 nightly tagged on npm as "latest"? HOT 1
- parse function does not add comments to ast HOT 2
- Typescript - enable assets option on .swcrc.json
- Upgrading @swc/core from 1.6.13 to 1.7.0 results in SIGILL (Illegal instruction) during build
- Minifier doesn't compress UpdateExpression and AssignmentExpression nodes if rhs is a literal HOT 4
- Add ESM exports to `@swc/wasm-typescript` HOT 1
- unknown variant `ESNext` HOT 3
- `swc_core::ecma::visit::visit_expr` is gone? HOT 2
- Binding ident has incorrect span with type annotation HOT 1
- some comments can't be visited
- `@swc/wasm-typescript` handling `() => <T>{}` HOT 2
- Object.assign(this, ...) does not work as expected in ES2020/ES2021 but works in ES2022 target HOT 1
- `quote_ident` inproperly references `DUMMY_SP`
- RFC: Use a flat structure for storing nodes instead of an AST
- Rum `cargo bump` before publishing
- No `collections.rs` file in the published swc_allocator v0.1.7 crate HOT 2
- missig main files for @swc/types 0.1.10 HOT 3
- use @swc/core with webpack5, run build failed HOT 3
- Dependency Dashboard
- AddressSanitizer, SEGV on unknown address when compiling file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swc.