Minimize javascript/css files [greenscript] module
This module is for the Play 1.x series only.
Play with your javascript/css files!
- compress and merge (configurable)
- cache minimized files (configurable)
- js/css dependency management (configurable)
- support runtime configuration (minimize/caching/dependencies)
- simplest tag syntax: #{js ‘js1 js2’ /}
- inline dependency declaration: #{greenscript.js ‘app < lib < jquery’/}
- transparent compression zero configuration
- support CDN
- support inline js/css body
- support resource and dependency management in modules
- support in-memory file cache
- support LESS
- support Last-Modified and E-Tag
- support Play.ctxPath
- support deploy to cluster like heroku (new in 1.2.7)
- support Rythm Template Engine (new in 1.2.7)
- support coffeescript (new in 1.2.8)
- support bootstrap 2.0 less compile (new in 1.2.8)
- use google closure to compress js file (new in 1.2.8)
- Anything else you want? send email to [email protected]
http://github.com/greenlaw110/greenscript
Written by Green Luo.
Published releases
1.2.8b | Apr 17 2012 | Documentation | Try Play |
1.2.8a | Mar 21 2012 | Documentation | Try Play |
1.2.8 | Feb 15 2012 | Documentation | Try Play |
1.2.7 | Feb 10 2012 | Documentation | Try Play |
1.2.6m | Nov 22 2011 | Documentation | Try Play |
1.2.6l | Nov 16 2011 | Documentation | Try Play |
1.2.6k | Oct 20 2011 | Documentation | Try Play |
1.2.6j | Sep 30 2011 | Documentation | Try Play |
1.2.6i | Sep 29 2011 | Documentation | Try Play |
1.2.6h | Sep 20 2011 | Documentation | Try Play |
1.2.6g | Sep 17 2011 | Documentation | Try Play |
1.2.5 | Aug 08 2011 | Documentation | Try Play |
1.2.4 | Jul 20 2011 | Documentation | Try Play |
1.2.3 | Jul 18 2011 | Documentation | Try Play |
1.2.2 | Jul 08 2011 | Documentation | Try Play |
1.2d | Apr 18 2011 | Documentation | Try Play |
1.1d | Oct 07 2010 | Documentation | Try Play |
1.0a | Sep 14 2010 | Documentation | Try Play |
0.1 | Mar 25 2010 | Documentation | Try Play |
To install locally this module use the install
command:
play install greenscript-{version}
To add this module as dependency of your application, add it to the dependencies.yml file:
require:
- play -> greenscript {version}