forked from bootprint/bootprint-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
22 lines (20 loc) · 629 Bytes
/
index.js
File metadata and controls
22 lines (20 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var path = require('path')
// Export function to create new config (builder is passed in from outside)
module.exports = function (builder) {
return builder
.load(require('bootprint-base'))
.merge({
'handlebars': {
'partials': path.join(__dirname, 'handlebars/partials'),
'helpers': require.resolve('./handlebars/helpers.js')
},
'less': {
'main': [
require.resolve('./less/theme.less'),
require.resolve('./less/variables.less')
]
}
})
}
// Add "package" to be used by bootprint-doc-generator
module.exports.package = require('./package')