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

Remove order by filename. #37

Closed blutorange closed 5 years ago

blutorange commented 5 years ago

Issue by scarballo Tuesday Jun 19, 2018 at 10:32 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/pull/159


Remove order by filename in class method "ProcessFilesTask.getFilesToInclude". The plugin should keep the original order to make it usable. In case of javascript files, user should put the files in the correct order before using the plugin to avoid javascript errors. The same case for css files, normally, the files are put on websites in order.


scarballo included the following code: https://github.com/samaxes/minify-maven-plugin/pull/159/commits

blutorange commented 5 years ago

See https://github.com/blutorange/closure-compiler-maven-plugin/issues/6