-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
47 lines (33 loc) · 1.14 KB
/
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
/**
* Created by thomasspringborg on 20/09/15.
*/
var buildversion = "1";
var pkg = require('./package.json');
module.exports = (function(){
var build = {
"version":buildversion,
"src": "www-src",
"dev": "www",
"prod": "www",
"static":"www-static",
"bundlescripts": [
"sp-framework.js",
"RE-milight.js"
],
"retinaSprites":true,
"fontName":"font-icons",
"concatScss":true //whether to concat all scss files not starting with "_" together in to a main.css file or compile them all seperately.
};
//shim for browserify-shim
///see https://github.com/thlorenz/browserify-shim for documentation.
var shim = {};
//set as true to use browserify transform babelify for ecma6 js
build.babel = false;
/// data for markojs. Can be a string(which will be required each build), a function(which will be invoked) or an object.
// string is preferable as it we will be able to require an uncached version each time it is needed.
build.data = "/build-data.json"
return {
build:build,
shim:shim
};
})();