-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.coffee
45 lines (41 loc) · 1.43 KB
/
config.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{languages, plugins} = require 'brunch-extensions'
#{LESSLanguage} = require 'brunch-extensions/lib/languages/less'
{HandlebarsLanguage} = require './brunch/handlebars_language'
{ManifestPlugin} = require './brunch/manifest_plugin'
{LESSLanguage} = require './brunch/less_language'
# Make config loadable via require() for brunch.
exports.config =
# Available plugins:
# * AssetsPlugin: copy `app/assets` contents to `build/`
plugins: [plugins.AssetsPlugin, ManifestPlugin]
less_paths: ['twitter-bootstrap/less']
# Contains a list of output filenames that your application would generate.
# Format:
#
# 'filename':
# languages:
# 'regExp, with which input files will be matched': language class
# order:
# before: [files, that would be loaded before anything else]
# after: [files, that would be loaded after anything else]
#
files:
'scripts/app.js':
languages:
'\.js$': languages.JavaScriptLanguage
'\.coffee$': languages.CoffeeScriptLanguage
'\.eco$': languages.EcoLanguage
'\.handlebars$': HandlebarsLanguage
order:
before: [
'vendor/scripts/console-helper.js'
'vendor/scripts/jquery-1.7.js'
'vendor/scripts/ember-latest.js'
'vendor/scripts/ember-data-latest.js'
]
'styles/app.css':
languages:
'\.css$': languages.CSSLanguage
'\.less$': LESSLanguage
order:
before: []