forked from antonybudianto/angular-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgulp.config.js
More file actions
33 lines (31 loc) · 705 Bytes
/
gulp.config.js
File metadata and controls
33 lines (31 loc) · 705 Bytes
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
module.exports = function () {
var root = 'src/';
var index = root + 'index.html';
var assets = root + 'assets/';
var tsFiles = root + '**/*.ts';
var build = {
path: 'build/',
assets: {
lib: {
js: 'lib.js',
css: 'lib.css'
}
}
};
var assetPath = {
lib: {
css: assets + build.assets.lib.css,
js: assets + build.assets.lib.js
},
fonts: assets + 'fonts'
};
var config = {
root: root,
index: index,
assets: assets,
build: build,
assetPath: assetPath,
tsFiles: tsFiles
};
return config;
};