-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpconfig.js
44 lines (44 loc) · 1.64 KB
/
gulpconfig.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
module.exports = {
vendorsDir: "BowerComponents",
source: {
styles: "Packages/Sites/M12.Site/Resources/Private/Styles/**/",
vendorScripts: [
// "BowerComponents/es6-promise/promise.js",
"BowerComponents/jquery.scrollTo/jquery.scrollTo.js",
"BowerComponents/jquery.localScroll/jquery.localScroll.js"
],
scripts: [
"Packages/Sites/M12.Site/Resources/Private/Scripts/App.js"
],
fonts: [
"BowerComponents/Font-Awesome/fonts/*.*",
"BowerComponents/open-sans-fontface/fonts/**/*"
],
includePaths: [
"BowerComponents",
"BowerComponents/foundation/scss",
"BowerComponents/Font-Awesome/scss"
]
},
dest: {
styles: "Packages/Sites/M12.Site/Resources/Public/Styles",
scripts: "Packages/Sites/M12.Site/Resources/Public/Scripts",
images: "/_Resources/Static/Packages/M12.Site/Images",
fonts: "Packages/Sites/M12.Site/Resources/Public/Fonts"
},
watch: {
styles: "Packages/Sites/M12.Site/Resources/Private/Styles/**/*",
scripts: "Packages/Sites/M12.Site/Resources/Private/Scripts/**/*",
php: [
"Packages/Plugins/M12.Foundation/**/*",
"Packages/Sites/M12.Site/Classes/**/*",
"Packages/Sites/M12.Site/Configuration/**/*",
"Packages/Sites/M12.Site/Resources/Private/**/*"
]
},
clear: [
"Packages/Sites/M12.Site/Resources/Public/Styles/*",
"Packages/Sites/M12.Site/Resources/Public/Scripts/*",
"Packages/Sites/M12.Site/Resources/Public/Fonts/*"
]
};