-
Notifications
You must be signed in to change notification settings - Fork 5
/
gulp.config.js
46 lines (46 loc) · 1.14 KB
/
gulp.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
module.exports = {
buildDir: './build/',
frontedDir: './src/fronted/',
widgetCompileDir: '../Emulator/APPS/PlayOnTV/',
server:{
path: './src/backend/index.js',
env: {
NODE_ENV: 'development',
NODE_CONFIG_DIR: './src/backend/config/'
}
},
bs:{
proxy: 'http://localhost:3000'
},
main: {
backend: './src/backend/index.js',
frontend: {
html: './src/fronted/index.html',
js: './src/frontend/app.js',
less: './src/frontend/**/*.less'
},
widget: {
html: './src/widget/index.html',
xml: './src/widget/config.xml',
js: './src/widget/app.js',
less: './src/widget/**/*.less'
}
},
files: {
backend: './src/backend/**/*.js',
frontend: {
html: './src/frontend/index.html',
js: './src/frontend/**/*.js',
less: './src/frontend/**/*.less',
assets: './src/frontend/assets/**/*'
},
widget: {
html: './src/widget/index.html',
xml: './src/widget/config.xml',
js: './src/widget/**/*.js',
lib: './src/widget/lib/**/*.js',
less: './src/widget/**/*.less',
assets: './src/widget/assets/**/*'
}
}
}