Joomla js minification process.

107 views
Skip to first unread message

Buddhima Wijeweera

unread,
Apr 12, 2015, 12:03:18 AM4/12/15
to joomla-...@googlegroups.com
Hi All,

Recently I came across a requirement of modifying js in Joomla! and Joomla! uses minified version of JS.
So, basically, I need to know how minified version of JS in Joomla! is created. There are tools out there, online & offline. 
But I need to know which is recommended for Joomla!

Thank you!

piotr_cz

unread,
Apr 12, 2015, 7:06:54 AM4/12/15
to joomla-...@googlegroups.com
I have good experience with Gulp.js. It's really easy to create a build file and the process integrates seamlessly into Joomla. You may add to gitattributes gulp.js or bower files if you don't them to be part of the extension distribution or to .gitignore to not commit these.

Downside is that it's ease to integrate it in CLI, but not so much on the server.

Bakual

unread,
Apr 12, 2015, 9:29:20 AM4/12/15
to joomla-...@googlegroups.com
We don't have a preference so far. Everyone just uses what he likes best.

Fedir

unread,
Apr 13, 2015, 6:13:13 AM4/13/15
to joomla-...@googlegroups.com
check this https://gist.github.com/phproberto/6933178

неділя, 12 квітня 2015 р. 07:03:18 UTC+3 користувач Buddhima Wijeweera написав:
Reply all
Reply to author
Forward
0 new messages