Skip to content

Instantly share code, notes, and snippets.

@abbood
Created May 29, 2014 06:32
Show Gist options
  • Save abbood/56a439553196bb938142 to your computer and use it in GitHub Desktop.
Save abbood/56a439553196bb938142 to your computer and use it in GitHub Desktop.
brunch stack config.coffee
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
conventions:
assets: /^app\/assets\//
ignored: /^(bower_components\/bootstrap-less(-themes)?|app\/styles\/overrides|(.*?\/)?[_]\w*)/
modules:
definition: false
wrapper: false
paths:
public: '_public'
watched: [
'bower_components/underscore'
'app'
'test'
'vendor'
'bower_components/jquery-ui/themes/base/minified'
]
files:
javascripts:
joinTo:
'js/app.js': /^app/
'js/vendor.js': /^(bower_components|vendor)/
order:
before: [
'bower_components/underscore/underscore-min.js'
'bower_components/angular/angular.js'
]
stylesheets:
joinTo:
'css/app.css': /^(app|vendor|bower_components)/
templates:
joinTo:
'js/dontUseMe' : /^app/ # dirty hack for Jade compiling.
plugins:
jade:
pretty: yes # Adds pretty-indentation whitespaces to output (false by default)
jade_angular:
modules_folder: 'partials'
locals: {}
sass:
mode: 'ruby'
# Enable or disable minifying of result js / css files.
# minify: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment