'How do I load a source map in a Cordova app?

I have an app that has been obfuscated with javascript-obfuscator. Viewing the app with devtools and I can see the obfuscated source but get the message....

DevTools failed to load source map: Could not load content for file:///android_asset/www/js/utilities.js.map: System error: net::ERR_FILE_NOT_FOUND

The source has the following line at the end

//# sourceMappingURL=utilities.js.map

Is it possible that the build did not deploy the .map files to the device?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source