XWBX
XWBX
the problem is [react-ziggeo](https://unpkg.com/[email protected]/build/index.js) includes a minified `ziggeo-client-sdk` which has about 2328342 characters in one line and 2866 `with` keyword which cause swc raised same number of WithInStrict error. After...
for plugin: I think a postInstall would work, or maybe we can put it in `bin` in `package.json` and try to parse generated `.sh` file in `node_modules/.bin`. for bundler: I...
Can you try to reinstall swc in your docker?
try ```js // webpack.config.js new TerserPlugin({ minify: TerserPlugin.swcMinify, terserOptions: { compress: { arrows: false, conditionals: false, evaluate: false, }, mangle: { topLevel: false }, }, }), ``` --- I think...
make `compress.unused = false`, can solve the problem, But I don't think it is correct answer. ```js import { minify } from "@swc/core"; minify( `var application; /******/ (() => {...
I reread the docs. Since all files are treated as module, I think the `var application;` and `application = __webpack_exports__;`should be dropped. terser will drop them if `module: true`.
just found `filename` is Implemented in #4016
> Are CI failures expected I'm not sure, but it doesn't seem relevant to this pr.
I think #286 already implemented this.
For read binary request body `Buffer.from(req.postData(), 'binary');` will work. I guess similar trick will work for override request body.