netlify/netlify-plugin-edge-handlers

Code minification

ehmicky opened this issue · 4 comments

Rollup has an option to minify the bundle. Should it be used?

I like this idea a lot, I think we should minify

+1

I added the compact option in #76. However, all it does is compressing whitespaces. It does not do real minification, such as renaming variables to shorter names, so it does not decrease the bundle size that much.
Should we also add a Rollup plugin to do real minification?

Done at #79.