Sourcemaps in non-minified /assets/js/ files?
-
Hello,
Why are there sourcemaps in the non-minified versions of the javascript files for this plugin?
For example,
forms-api.jshas a sourcemap comment at the bottom. If I need to see the original script when a minified version is served, the sourcemap needs to be in the minified version or I could setdefine('SCRIPT_DEBUG', true);in mywp-config.php.Is the sourcemap added to the non-minified version to allow a developer to copy it over to the minified version so testing can be done in a live environment without affecting other files being served by the site?
Thanks!
The topic ‘Sourcemaps in non-minified /assets/js/ files?’ is closed to new replies.