Closed grancalavera closed 11 years ago
This doesn't fix the issue for requirejs, where the component name is requirejs
, but the actual main file name is require.js
.
Hey, sorry for the late reply. grunt-bower v0.4.1 is handling this case now, but still, thanks for the pull request.
And since bower version > 0.4 won't read from package.json, grunt-bower is also handling that, too!
Thanks for the info, I'll take a look. In the end I gave up on bower and started again with volo, creating a simple init template with just what I need, feel free to take a look (still work in progress): https://github.com/grancalavera/grunt-templates
Just checked, didn't aware of volo's add has a -amdoff switch, it seems to be a nice workflow you got there :+1:
This fix appends
[name].js
tosrc_path
when it doesn't end with.js
.