oyvinmar / grails-closure-compiler

Grails Resources Plugin for Google Closure Compiler
Other
7 stars 6 forks source link

excludes .min.js rule not work with cached-resources plugin. #6

Closed lyhcode closed 11 years ago

lyhcode commented 11 years ago

Hi,

If closure-compiler plugin work with cached-resources plugin, It seems process original name '.min.js' files. Not apply to excludes rules. I think the problem is cached-resources plugin translate all js file name to .js suffix. So the .min.js suffix excludes rules not work.

oyvinmar commented 11 years ago

That shouldn't be a problem. ClosureCompiler uses the COMPRESSION mapperphase which happens before cached-resources RENAMING phase (see: https://github.com/grails-plugins/grails-resources/blob/master/src/groovy/org/grails/plugin/resource/mapper/MapperPhase.groovy).

I use both plugins in a project without issues.