Mrxyy
Mrxyy
It's true that I have the same problem
SWC can compile lower-level code to support more browsers.
> This package supports modern browsers(ES6), don't think WASM has broader support, and we use `sucrase` instead of Babel for smaller bundle size, I believe SWC will bloat it a...
> > This package supports modern browsers(ES6), don't think WASM has broader support, and we use `sucrase` instead of Babel for smaller bundle size, I believe SWC will bloat it...
I am very sure that I need the feature.
> What bundler are you using? webpack5
> I suppose the solution is to use `Object.defineProperties()` instead of `Object.assign()` Yes, the above code is just to ensure that the current compiled results work.
I promise a lot of people need the feature.
I hope this PR will be merged.