forked from timrobertson100/ssg-ipt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
31 lines (28 loc) · 1.07 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
/*
Build configurations specifying where various folders are located and build to.
This is not intended to be modified by editors
*/
var src = './src';
var mapJs = ['./bower_components/mapbox.js/mapbox.js', './bower_components/leaflet.markercluster/dist/leaflet.markercluster.js'];
var mapCss = ['./bower_components/mapbox.js/mapbox.css', './bower_components/leaflet.markercluster/dist/MarkerCluster.css', './bower_components/leaflet.markercluster/dist/MarkerCluster.Default.css'];
var mapImg = ['./bower_components/mapbox.js/**/*.png'];
module.exports = {
javascript: {
src: [
'./bower_components/gbif-ssg/bower_build/script.js',
...mapJs,
src + '/js/**/*.js'
]
},
stylus: {
entries: [src + '/stylus/index.styl'].concat(mapCss)
},
fonts: {
iconsSrc: ['./bower_components/gbif-ssg/bower_build/icons/**/*.svg', src + '/icons/**/*.*'],
template: './bower_components/gbif-ssg/bower_build/icons/fonttemplate.styl'
},
mapImg: {
src: mapImg,
dest: './dist/css/'
}
};