Fixed grunt babel path and added --dev option

This commit is contained in:
abalabahaha 2015-11-15 11:44:32 -08:00
parent 9ad55668a1
commit 2e498c82a0

View file

@ -8,13 +8,13 @@ module.exports = function (grunt) {
babel: {
options: {
loose: "all",
compact: true
compact: !grunt.option('dev')
},
dist: {
files: [{
expand: true,
cwd: "src/",
src: ["/**/**.*"],
src: ["**/**.*"],
dest: "lib/",
ext: ".js"
}]