[jira] [Commented] (OFBIZ-11882) rename a few map files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11882) rename a few map files

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158604#comment-17158604 ]

Alex Bodnaru commented on OFBIZ-11882:
--------------------------------------

though i don't know how to do it with Gradle,

the principle would be to keep the, say x.js

as the source file, an minify it to generate

both x.min.js and x.js.map.

the problem, by now, is that the process is done incorrectly, so that the x.min.js points to a wrong map file.

gradlew clean should delete both generated files.

> 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
>
>   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)