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.
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