top | item 39641096

(no title)

lakpan | 2 years 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.

discuss

order

vlakreeh|2 years ago

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.

lakpan|2 years ago

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