-
Notifications
You must be signed in to change notification settings - Fork 2
/
gulp.config.js
43 lines (42 loc) · 1.05 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
module.exports = function() {
var config = {
root: {
src: 'src',
dest: 'web'
},
bower: {
dest: 'web/bower_components'
},
images: {
src: 'src/resources/images/**/*',
dest: 'web/resources/images',
watch: 'src/resources/images/**/*'
},
copy: {
src: [
'src/**/*',
'!src/resources/**/*.scss',
'!src/resources/style/**/*',
'!bower_components/**/*'
]
},
fonts: {
src: 'src/resources/fonts/**/*',
dest: 'web/resources/fonts',
watch: 'src/resources/fonts/**/*'
},
sass: {
src: 'src/resources/style/style.scss',
dest: 'web',
watch: 'src/resources/style/**/*.{scss,css}'
},
html: {
src: 'web/**/*.html',
watch: 'src/**/*.html'
},
js: {
watch: 'src/**/*.js'
}
};
return config;
};