In the bower.json, the main section is specified like this:
"main": "jQuery.ProfanityFilter.js",
When I do grunt wiredep, jQuery.ProfanityFilter.js is injected to my index.html. However, the actually filename that comes with the jQuery plugin is jquery.profanityfilter.js in all lowercase. As a result, I keep getting file not found from my server (as well as on my phone too when I package it as a cordova app).
I managed to fix the issue by manually changing my index.html to reference the JS file in all lowercase. However, this would break next time I run grunt wiredep again.
Please fix the bower.json file and change the JS file reference in the main section to all lowercase.
In the
bower.json
, themain
section is specified like this:When I do
grunt wiredep
,jQuery.ProfanityFilter.js
is injected to myindex.html
. However, the actually filename that comes with the jQuery plugin isjquery.profanityfilter.js
in all lowercase. As a result, I keep getting file not found from my server (as well as on my phone too when I package it as a cordova app).I managed to fix the issue by manually changing my
index.html
to reference the JS file in all lowercase. However, this would break next time I rungrunt wiredep
again.Please fix the
bower.json
file and change the JS file reference in themain
section to all lowercase.Thanks, Edmond