Fix Brunch complaining about fonts' bower.json files

Before this, Brunch would try to copy bower.json from those folders into our /fonts folder. Because there were two bower.json files, Brunch would always give this error:
`Error: ENOENT: no such file or directory, unlink '~/work/codecombat/public/fonts/bower.json'`

This fix just ignores those bower.json files instead of trying to put them in /public/fonts.
This commit is contained in:
Phoenix Eliot 2016-09-13 14:28:47 -07:00
parent 8359c95489
commit 327474e53c

View file

@ -206,7 +206,7 @@ exports.config =
assetsmanager:
copyTo:
'lib/ace': ['node_modules/ace-builds/src-min-noconflict/*']
'fonts': ['bower_components/openSansCondensed/*', 'bower_components/openSans/*']
'fonts': ['bower_components/openSansCondensed/!(*bower.json)', 'bower_components/openSans/!(*bower.json)']
'javascripts': ['bower_components/esper.js/esper.modern.js']
autoReload:
delay: 1000