robwierzbowski/generator-jekyllrb

_bower_components under .dist

pruzicka opened this issue · 2 comments

Hi,
I have just installed new blog from this generator and added "bootstrap-sass-official" bower components. It now lives under "app/_bower_components". It's available for testing under "/_bower_components/" path and everything is OK.
But grunt build would fire UseminPrepare and this would generate this
{ dest: '.tmp/concat/scripts/plugins.js',
src:
[ 'dist/_bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/affix.js',
So Usemin expects everything to be under ".dist" directory which is not the case.

Any idea how to fix it ? I don't want to copy all "_bower_components" to ".dist" correct ?
Thanks

Petr

You need to add the paths/globs that you want to copy to dist in the copy section, if they're not already added to a usemin build block.

If you have more questions / need clarification, feel free to reopen.

got it, thanks