-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.config.js
More file actions
43 lines (40 loc) · 1.06 KB
/
build.config.js
File metadata and controls
43 lines (40 loc) · 1.06 KB
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
/**
* This file/module contains all configuration for the build process.
*/
module.exports = {
dir: {
dev: 'bin/dev',
prod: 'bin/prod'
},
/**
* This is a collection of file patterns that refer to our app code (the
* stuff in `src/`). These file paths are used in the configuration of
* build tasks. `js` is all project javascript, less tests. `ctpl` contains
* our reusable components' (`src/common`) template HTML files, while
* `atpl` contains the same, but for our app's code. `html` is just our
* main HTML file, `less` is our main stylesheet, and `unit` contains our
* app's unit tests.
*/
src: {
root: 'src',
static_files: [
'assets/**/*',
'lib/**/.htaccess',
'css/**/*.eot',
'css/**/*.svg',
'css/**/*.ttf',
'css/**/*.woff',
'css/**/*.otf'
],
app: [ 'app/**/*.js' ],
templates: [ 'src/app/**/*.html' ],
html: [ 'index.html' ],
lib: [
'lib/js/angular-ui-router.min.js',
'lib/js/ui-bootstrap-tpls-0.6.0.min.js',
'lib/js/ui-utils.min.js',
'lib/js/d3.v3.min.js',
'lib/js/underscore.min.js',
]
}
};