You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if I'm an idiot or if this is an actual problem.
In my Grunt workflow, after my dist folder is created, files are built and then copied into it, and my index.html file is created, I run the realFavicons:favicons task/target, with the following Grunt task config:
If i use an explicit filename like "dist/index.html", it works and injects just fine, easy-peasy.
If I use the quasi-glob formula as shown above, the globbing does NOT work, and creates the file "*.html" with only the injected HTML code inside of it. This was an example on the "favicon result" page of realfavicongenerator.com .
For posterity, my global settings are in the attachment Gruntfile.txt which is loading all of my grunt tasks. I am not the original author, and I'm not sure if the Gruntfile is disabling globbing (though I'm leaning towards a no).
The initial code example from the Issue works as expected with html: ['dist/*.html'],.
Please Note: I have not done any more extensive testing due to other pressing work. Other such test cases should include **/*.php or other potential globbing patterns for common use cases.
I'm not sure if I'm an idiot or if this is an actual problem.
In my Grunt workflow, after my
dist
folder is created, files are built and then copied into it, and myindex.html
file is created, I run therealFavicons:favicons
task/target, with the following Grunt task config:If i use an explicit filename like "dist/index.html", it works and injects just fine, easy-peasy.
If I use the quasi-glob formula as shown above, the globbing does NOT work, and creates the file "*.html" with only the injected HTML code inside of it. This was an example on the "favicon result" page of realfavicongenerator.com .
For posterity, my global settings are in the attachment
Gruntfile.txt
which is loading all of my grunt tasks. I am not the original author, and I'm not sure if the Gruntfile is disabling globbing (though I'm leaning towards a no).Gruntfile.txt
Edited for formatting.
The text was updated successfully, but these errors were encountered: