Adds multiple assets folders support to brunch.
JavaScript
Switch branches/tags
Nothing to show
Latest commit 1e34b1f Dec 11, 2015 @ocombe Update README.md
Permalink
Failed to load latest commit information.
lib console.log removed Jan 12, 2015
.gitignore first draft Jul 22, 2013
README.md Update README.md Dec 11, 2015
package.json update dependencies Jan 12, 2015
setup.js first draft Jul 22, 2013

README.md

assetsmanager-brunch

Adds multiple assets folders / multiple destination support to brunch.

Warning: This plugin is probably deprecated, if anyone wants to take over, send me a mail or open an issue

###Install the plugin :

npm install --save assetsmanager-brunch

###Add assetsmanager to brunch config : Add all assets files you want to copy. This example copy:

  • app/myFolder/includeand app/css/img to myFolder public directory
  • all files in app/assets/ to myAssets public directory
assetsmanager: {
    copyTo: {
        'myFolder' : ['app/myFolder/include', 'app/css/img'],
        'myAssets': ['app/assets/*']
    },
    minTimeSpanSeconds: 10 // assets won't be copied more frequent than once per X seconds.
}