forked from Brandonmchu/ember-training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
executable file
·79 lines (77 loc) · 1.91 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
68
69
70
71
72
73
74
75
76
77
78
79
exports.config = {
paths: {
watched: ['app', 'envs', 'vendor', 'test']
},
files: {
javascripts: {
joinTo: {
'javascripts/app.js': /^(app|envs\/development)/,
'javascripts/vendor.js': /^vendor\/scripts\/(common|development)/
},
order: {
before: [
'vendor/scripts/common/console-polyfill.js',
'vendor/scripts/common/jquery.js',
'vendor/scripts/common/handlebars.js',
'vendor/scripts/common/moment.js',
'vendor/scripts/development/ember.js',
'vendor/scripts/development/ember-data.js',
'vendor/scripts/common/ember-json-api.js',
'vendor/scripts/common/bs-core.max.js'
]
}
},
stylesheets: {
joinTo: {
'stylesheets/app.css': /^(app|vendor)/
},
order: {
before: [
'vendor/styles/normalize.css',
'vendor/styles/bootstrap.css',
'vendor/styles/flat-ui.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)/
},
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
}
}
}
},
server: {
path: 'server.js',
port: 3333
}
};