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

js files in subfolders are ignored #60

Closed ericossj closed 1 year ago

ericossj commented 1 year ago

image

image

blutorange commented 1 year ago

Hmm, I'll need to take a look, but just to make sure, what you mean is, the file GridColunaSubTabela.js should be included in the bundle as well, but currently it is not?

ericossj commented 1 year ago

thanks for the reply blutorange, exactly, the content of the file is not included in the minified

blutorange commented 1 year ago

So yesterday was a national holiday here in Germany, but today I've got some time to take a look at this.

I tried to reproduce what you described, but as far as I can tell, everything is working as intended. However, please note:

Here's a minimal Maven project based on the screenshot you posted that works, both files are included in the minified file: https://filebin.net/1ls51dx1vsc5kb48

If that doesn't solve your issue, can you make a sample project that illustrates the error?

PS: The JSON bundle feature still exists because I took it from the project from which this one was forked, but tbh, I don't quite see the point of JSON bundle files. Is there any particular reason you prefer a JSON file with the files to include instead of just configuring everything in the pom.xml (using multiple executions if you need multiple bundles)?

ericossj commented 1 year ago

Good evening, sorry for the delay in responding. First I would like to apologize because it was my mistake, as the problem was in the name of the folder "subTabela" in the capital letter "T". I changed the name correctly and it solved my problem.

Anyway, I'd like to thank you for the feedback.