Hacker News new | ask | show | jobs
by lakpan 837 days ago
The question is: is the output as good as Rollup? I haven’t seen a bundler that outputs code that isn’t junk that must be minified to be any good.

With rollup, I can just ship it as a web extension and it’s still 100% readable.

1 comments

Mostly curious, why do you care about the readability of the generated JS? Surely if you need to debug something for a production bundle you can use source maps.
It’s not generated JS, it’s concatenated JS (plus some glue). Rollup make this clear.

In web extensions you can’t quite use sourcemaps unless you include the sourcemap in the .js file or upload it to your own server