Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
27 lines (20 sloc) 0.665 kb

assetsmanager-brunch

Adds multiple assets folders / multiple destination support to brunch.

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.
}
Jump to Line
Something went wrong with that request. Please try again.