teamcfadvance / cfstatic

CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
https://teamcfadvance.github.io/cfstatic
MIT License
102 stars 35 forks source link

Added Google Closure Compiler as an alternative to YUI #118

Open dave-stanley opened 1 year ago

dave-stanley commented 1 year ago

Provides a minimal wrapper for the Google Closure Compiler to use either as an alternative to YUIcompressor or alongside to compile ECMA 6 and above JavaScript.

To use as the default rather than YUI set the option useGoogleClosure = true when initialising cfstatic. To use on an individual file add the annotation @ecma6 true