-
Notifications
You must be signed in to change notification settings - Fork 34
/
config.js
executable file
·67 lines (66 loc) · 1.69 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
exports.config = {
paths: {
watched: ['app', 'envs', 'vendor', 'test']
},
files: {
javascripts: {
joinTo: {
'javascripts/app.js': /^(app|envs\/development)/,
'javascripts/vendor.js': /^(vendor\/scripts\/(common|development)|vendor\\scripts\\(common|development))/
},
order: {
before: [
'vendor/scripts/common/console-polyfill.js',
'vendor/scripts/common/jquery.js',
'vendor/scripts/common/handlebars.js',
'vendor/scripts/development/ember.js',
'vendor/scripts/development/ember-data.js'
]
}
},
stylesheets: {
joinTo: {
'stylesheets/app.css': /^(app|vendor)/
},
order: {
before: ['vendor/styles/normalize.css']
}
},
templates: {
precompile: true,
root: 'templates',
joinTo: {
'javascripts/app.js': /^app/
}
}
},
overrides: {
// Production Settings
production: {
files: {
javascripts: {
joinTo: {
'javascripts/app.js': /^(app|envs\/production)/,
'javascripts/vendor.js': /^(vendor\/scripts\/(common|production)|vendor\\scripts\\(common|production))/
},
order: {
before: [
'vendor/scripts/common/console-polyfill.js',
'vendor/scripts/common/jquery.js',
'vendor/scripts/common/handlebars.js',
'vendor/scripts/production/ember.js',
'vendor/scripts/production/ember-data.js'
]
}
}
},
optimize: true,
sourceMaps: false,
plugins: {
autoReload: {
enabled: false
}
}
}
}
};