brunch/brunch — Issue #189: Config to exclude files
Author: SuperSkunk
Created: 2012-01-29 01:29:13+00:00
State: open

It would be nice if we could exclude somes files and folders to be processed.

For example:

files:
'scripts/app.js':
languages:
'\.js$': languages.JavaScriptLanguage
'\.coffee$': languages.CoffeeScriptLanguage
'\.eco$': languages.EcoLanguage
order:
before: [
'vendor/scripts/file.js'
'vendor/scripts/file2.js'
'vendor/scripts/file3.js'
]
after: [
'vendor/scripts/file4.js'
]
not: [
'vendor/scripts/file5.js'
'vendor/folder/'
]

'styles/app.css':
languages:
'\.css$': languages.CSSLanguage
'\.styl$': languages.StylusLanguage
order:
before: ['vendor/styles/normalize.css']
not: ['vendor/styles/deprecated.css']