-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Minification could be improved? #1371
Comments
I'm already working on it. |
I made an issue about it at privatenumber/minification-benchmarks#6 |
I see the code for the benchmark for the esbuild is import esbuild from 'esbuild';
import measure from './measure.js';
const service = await esbuild.startService();
await measure(async ({ code }) => {
const minified = (await service.transform(code, {
minify: true,
sourcemap: false,
}));
return minified.code;
});
service.stop(); I think it would be nice to do the equivalent of the "esbuild.startService" function to initialize the wasm of swc. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
As seen in https://github.com/privatenumber/minification-benchmarks SWC minfication ability is comparatively low. Can this be improved?
The text was updated successfully, but these errors were encountered: