-
Notifications
You must be signed in to change notification settings - Fork 0
/
GruntFile.js
34 lines (31 loc) · 898 Bytes
/
GruntFile.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
module.exports = function (grunt) {
'use strict';
var hbs;
require('load-grunt-tasks')(grunt);
hbs = require('component-builder-handlebars');
grunt.initConfig({
componentbuild: {
build: {
options: {
verbose: false,
dev: true,
noRequire: false,
name: 'build',
standalone: true,
sourceUrls: true,
configure: function(builder) {
builder.use(hbs({
extname: '.hbs',
partialRegex: /^_/
}));
}
},
src: '.',
dest: './build/'
}
}
});
grunt.registerTask('default', [
'componentbuild:build'
]);
};