forked from pageman/simple-sinatra-mvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrunch-config.js
53 lines (47 loc) · 1.08 KB
/
brunch-config.js
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
46
47
48
49
50
51
52
53
exports.config = {
// See http://brunch.io/#documentation for docs.
modules: {
wrapper: false
},
files: {
javascripts: {
joinTo: 'javascripts/app.js'
},
stylesheets: {
joinTo: 'stylesheets/app.css',
order: {
after: ['app/assets/stylesheets/app.css']
}
}
},
conventions: {
// This option sets where we should place non-css and non-js assets in.
// By default, we set this to '/app/assets/files'. Files in this directory
assets: /^(app\/assets\/files)/
},
paths: {
// Dependencies and current project directories to watch
watched: [
'app/assets'
],
// Where to compile files to
public: 'public/assets'
},
// Configure your plugins
plugins: {
babel: {
ignore: [/node_modules/]
},
sass: {
options: {
mode: 'native',
includePaths: ['node_modules/normalize.css', 'node_modules/bourbon/core', 'node_modules/bourbon-neat/app/assets/stylesheets'],
precision: 8,
sourceMapEmbed: true
}
}
},
npm: {
enabled: true
}
};