forked from TeXitoi/navitia-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
42 lines (40 loc) · 754 Bytes
/
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
var src = 'app';
var build = 'dist';
var dev = build + '/dev';
var prod = build + '/prod';
module.exports = {
dev: dev,
prod: prod,
browsersync: {
dev: {
server: {
baseDir: [dev, build, src]
},
port: 4242,
files: [
dev + '/*.html',
dev + '/css/**',
dev + '/js/*.js',
dev + '/img/**',
dev + '/fonts/*'
]
},
prod: {
server: {
baseDir: [prod, build, src]
},
port: 4243,
files: [
prod + '/css/*.css',
prod + '/js/*.js',
prod + '/img/**',
prod + '/fonts/*'
]
}
},
del : {
all: [build],
dev: [dev],
prod: [prod]
}
};