3 ms·
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
by vlakreeh 3y 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 3y agoIt’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