blutorange / closure-compiler-maven-plugin

Combine and minimize JavaScript with Closure Compiler.
http://blutorange.github.com/closure-compiler-maven-plugin
Apache License 2.0
52 stars 6 forks source link

CSS files included out of order #40

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by garretwilson Monday Sep 03, 2018 at 17:21 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/162


I'm trying to merge CSS files together, and the plugin isn't respecting the order.

<cssSourceIncludes>
  <cssSourceInclude>stuff.min.css</cssSourceInclude>
  <cssSourceInclude>license.css</cssSourceInclude>
  <cssSourceInclude>foo.css</cssSourceInclude>
  <cssSourceInclude>bar.css</cssSourceInclude>
</cssSourceIncludes>
<cssFinalFile>foobar.css</cssFinalFile>

The file license.css gets placed somewhere toward the end of the merged file.

Note that I even have minification turned off!

blutorange commented 5 years ago

Order for JS files is now respected. CSS is out-of-scope now.