Open Kristinita opened 2 years ago
I haven't investigated, but it's not hard to imagine this assumption creeping in somewhere.
@ChadKillingsworth, do you have a comment/opinion here?
It seems likely that this is within the grunt plugin in some way. It will take some research to figure out exactly what is causing the issue.
1. Summary
If the directory name ends in
.js
, Grunt version of google-closure-compiler treats a directory as a file.2. MCVE
See this configuration on the
KiraGoogleClosureCompilerJSInPath
branch of my GitHub repository for debugging and demonstrations.Gruntfile.coffee
:js/Clipboard.js/KiraSimple.js
:The part of the
package.json
:The part of the
.travis.yml
:3. Behavior
3.1. Desired
Successful compilation without errors. I get it if:
For google-closure-compiler CLI I can’t reproduce the bug, see Travis build:
3.2. Current
See Travis build:
4. Environment
Operating system
grunt-cli v1.3.2, grunt v1.5.3
google-closure-compiler v20220905
Thanks.