Build, Compress, Minify, Uglify? #732
Answered
by
antongolub
TonyGravagno
asked this question in
Help needed
-
I'm curious if we can use any build process to reduce the size of code for performance - and then use that final .mjs with zx. Consider builders like https://github.com/vercel/ncc. It seems we wouldn't be able to use a shebang in the source if we transpile it ... or maybe we need to post-process such code to insert the shebang at the top? |
Beta Was this translation helpful? Give feedback.
Answered by
antongolub
May 5, 2024
Replies: 2 comments 1 reply
-
Yeap. Already implemented by @antongolub |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm very sorry for missing this. Could you please point me to some documentation on this in the main branch or a pending branch or PR? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Landed as part of v8.0.0. You can review bundler scripts in the main branch.