Comments (1)
Scope of esX
The esX in the target configuration can only specify the ECMAScript version of the Rspack runtime code. If you want to specify the ECMAScript version of the user code, you can use builtin:swc-loader or babel-loader to degrade the user code.
options.target
does not convert any user land code. You may rely on swc-loader env
to downgrade the code.
from rspack.
Related Issues (20)
- [Feature]: builtin-lightningcss-loader add support for `visitor` option HOT 1
- [Feature]: export types related to builtin:lightningcss-loader HOT 5
- [Bug]: Regression between beta4 and beta5 semicolon incorrectly added.
- [Feature]: Could you help to upgrade the built-in SWC loader to use the latest version of SWC? HOT 4
- [Bug]: 初始化之后run dev报错
- [Bug][DevServer]: `TypeError: Cannot read properties of undefined (reading 'get')` when making network request to compiled asset HOT 2
- [Bug]: Module Federation typeError: Cannot set properties of undefined (setting 'constructor')
- [Bug]: binding resolver_factory and rust resolver_factory should share same instance
- [Bug]: Using `builtin:swc-loader` with other loaders generate wrong source-map HOT 1
- [Bug]: bundle `modern-module` with css import stmt: incorrect webpack module map invoking HOT 2
- Enable loader type module test for Node 20
- [Bug]: 1.0.1-beta.15 production rename function name , Class too HOT 1
- [Bug]: Using `extensionAlias` with non-exist `package.json#module` cause error
- [Bug]: TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher') HOT 1
- Infra: improve e2e test stability HOT 1
- [Tracking]: Stabilize Rust Public API HOT 3
- [Bug]: css module has HMR but tsx file not update css name
- [Bug]: HOT 1
- [Bug]: export of comma-separated strings from scss modules does not work
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 rspack.