Skip to content

Provides JS Minification for the Grails Resource Framework based on Google Closure Compiler

License

Notifications You must be signed in to change notification settings

conmio/google-closure-compiler-resources

 
 

Repository files navigation

Closure-compiler-resources

This plugin integrates with Grails' resources framework to automatically compress javascript using the Google Closure [compiler] (https://developers.google.com/closure/compiler/).

The current version supports minification and compilation of JavaScript files as part of static resources processing. Other features (such as Linter or CSS processing) of Google Closure Tools are not supported.

Settings

  • grails.resources.mappers.closurecompiler.compilationlevel: Controls the compilation level of the compressor. Defaults to SIMPLE_OPTIMIZATIONS. This setting is passed as a string.

  • grails.resources.googleclosurejscompile.includes and .excludes: Controls which files are processed by the compiler. The default setting is to include *.js, and to exclude .min.js.

Acknowledgements

This plugin is based on the YUI minify resources plugin and Google Closure Compiler.

License

This plugin is licensed under Apache License, Version 2.0.

About

Provides JS Minification for the Grails Resource Framework based on Google Closure Compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.7%
  • Groovy 16.6%
  • Gosu 2.7%