-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulp.config.js
47 lines (39 loc) · 1.07 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
47
module.exports = function() {
var src = './src/';
var appPath = src + 'app/';
var stylePath = src + 'sass/';
var wp_theme = './../../wordpress/wp-content/themes/fpr-blog/';
var config = {
/**
* File Paths
*/
src: src,
all_style: stylePath + '*.scss',
main_style: stylePath + 'style.scss',
component_js: appPath + '/**/*.js',
main_js: src + 'app.js',
all_js: src + '**/*.js',
core_folder: appPath + 'core/',
all_php: src + '*.php',
htmltemplates: appPath + '**/*.html',
/**
* wp folders
*/
wp_theme: wp_theme,
wp_assets: wp_theme + 'assets/',
wp_bower: wp_theme + 'bower_components/',
wp_partials: wp_theme + 'partials/',
wp_js: wp_theme + 'js/',
/**
* template cache
*/
templateCache: {
file: 'templates.js',
options: {
module: 'fprApp',
standAlone: false
}
},
};
return config;
};