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

Jacques Le Roux commented on OFBIZ-9976:
----------------------------------------

Hi Aditya,

I had a quick look at Gulp, Grunt and Webpack. 
I found
# https://plugins.gradle.org/plugin/com.liferay.gulp and 
https://plugins.gradle.org/plugin/com.moowork.gulp
# https://plugins.gradle.org/plugin/com.moowork.grunt
# https://plugins.gradle.org/search?term=webpack

Do you want to use one of them only to minify or do you have other ideas?

> Introduce require.js to organise JavaScript files
> -------------------------------------------------
>
>                 Key: OFBIZ-9976
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9976
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk, Upcoming Branch
>            Reporter: Aditya Sharma
>            Assignee: Jacques Le Roux
>            Priority: Major
>
> As suggested by [~jacques.le.roux] in 
> http://markmail.org/message/eec2anlwdt4azaac and 
> http://ofbiz.markmail.org/thread/ti54omjdt4fy662m and as per the discussion 
> with [~amardeepsj] in OFBIZ-7758, introduce require.js http://requirejs.org/ 
> to load javascript files.
> Require.js offers a lot of benefits some of them includes:
> * Asynchronous module loading.
> * Well-structured code
> * Creating and re-using modules without polluting the global namespace
> * Explicit defining of dependencies between module



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to