[
https://issues.apache.org/jira/browse/OFBIZ-11882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160530#comment-17160530 ]
Alex Bodnaru commented on OFBIZ-11882:
--------------------------------------
i have only patched the wrongly named map files, where they have been provided at all by upstream.
as you previously cited jquery developers, they do recommend against map files, so that there's no sourceMappingUrl in their minified files, so that there's also no 404 error.
the moment we'll generate our own minified files, we'll use the sources (e.g. [xyz].js) to create only one concatenated and minified all.min.js, and generate all.min.js.map and point sourceMappingUrl to it, if we'll decide to provide a map for this file.
this should probably be configurable, much like compiling with the debugging symbols (in the c/c++ parlace).
> rename a few map files
> ----------------------
>
> Key: OFBIZ-11882
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11882> Project: OFBiz
> Issue Type: Improvement
> Components: ecommerce
> Affects Versions: Release Branch 17.12, Trunk
> Reporter: Alex Bodnaru
> Assignee: Jacques Le Roux
> Priority: Trivial
> Attachments: ecommerce-js.patch, ecommerce-js2.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> tells a few files to be renamed, to suppress warnings in the browser console.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)