Transcrypt icon indicating copy to clipboard operation
Transcrypt copied to clipboard

Feature Request: Creating bundled js files

Open CarstenGrohmann opened this issue 5 years ago • 3 comments

The current Javascript bundler cannot merge existing source map files. This means that you can no longer use the source map generated by Transcrypt after the module files have been merged with a bundler.

Please add an option to create an all-in-one js file as well as the sourcemap file like Transcrypt 3.6 did.

CarstenGrohmann avatar Nov 18 '20 19:11 CarstenGrohmann

I use Parcel V2 with the parcel-transformer-transcrypt plugin and the source maps that Transcrypt generates get bundled successfully. I also did a full write-up on using the Transcrypt plugin for Parcel V2 as well. If that approach works for your purpose, I'll close this issue out.

JennaSys avatar Apr 23 '23 07:04 JennaSys

It would be great if you could add a link to your write-up to the Transcrypt documentation. I'm fine with closing this issue.

CarstenGrohmann avatar Apr 25 '23 09:04 CarstenGrohmann

Good idea. The section in the docs about using Parcel could use a bit more clarification in general.

JennaSys avatar Apr 25 '23 16:04 JennaSys