Upload Multiple JS files from Lazy Loaded Ionic Modules

jfspencer

Posted on
May 04 2018

I have an ionic 3 application that uses lazy loading. The production output is about 30 JS files that have inlined source map data. These files are not publicly hosted so they will need to be uploaded via the REST API. I am not sure how to properly correlate each of these JS modules with errors/stack traces. An Error will reference one of the JS modules (1.js or 2.js etc) these JS file names seem to be hard coded against main.js so it doesn't appear they can be renamed.

Some direction would be great!


Reply