-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.build.config.js
39 lines (36 loc) · 1.04 KB
/
.build.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
var srcFolder = './src';
var distFolderAssets = './dist/assets';
var distFolderHTML = './dist';
var externalPluginsTmpFolder = './.external_plugins';
var dirs = {
src: srcFolder,
dist: distFolderAssets,
pluginsTmp: externalPluginsTmpFolder,
srcJS: srcFolder + '/js',
distJS: distFolderAssets,
srcCSS: srcFolder + '/css',
distCSS: distFolderAssets,
srcFonts: srcFolder + '/fonts',
distFonts: distFolderAssets + '/fonts',
srcFavicon: srcFolder,
distFavicon: distFolderAssets,
srcImg: srcFolder + '/img',
distImg: distFolderAssets + '/img',
distHTML: distFolderHTML
};
var files = {
srcJS: dirs.srcJS + '/index.js',
distJS: dirs.distJS + '/index.js',
srcCSS: dirs.srcCSS + '/index.less',
distCSS: dirs.distCSS + '/index.css',
srcFonts: dirs.srcFonts + '/**/*.ttf',
distFonts: dirs.distFonts,
srcFavicon: dirs.srcFavicon + '/favicon.ico',
distFavicon: dirs.distFavicon + '/favicon.ico',
srcHTML: dirs.src + '/index.html',
distHTML: dirs.distHTML + '/index.html'
};
module.exports = {
dirs: dirs,
files: files
};