nathancox / silverstripe-minify

Minifies CSS requirements using Minify (http://code.google.com/p/minify/)
26 stars 9 forks source link

Documentation (Google Closure Compiler) #12

Open geekdenz opened 7 years ago

geekdenz commented 7 years ago

If it works I would be interested in using Google Closure Compiler easily and some documentation how to do this would be great as well as other things as well. I found this by searching for "Google Closure SilverStripe".

I would be interested particularly in using all optimisations including aggressive tree shaking the code.

geekdenz commented 7 years ago

Sorry to side track but your website seems down: http://flyingmonkey.co.nz/

nathancox commented 7 years ago

Hi, thanks for that. Not sure why that was going on. Not that the site is really doing anything anyway.

Unfortunately you're talking to the wrong person for Closure. All that part is handled by the Minify library (https://github.com/mrclay/minify I think is the new location). The code is just included directly in this module because I don't think they even had composer back when I made this. All I did was hook it up to SilverStripe's Requirements system.