From 2e498c82a01eb9044d3a0368369a08e2cdd1a11c Mon Sep 17 00:00:00 2001 From: abalabahaha Date: Sun, 15 Nov 2015 11:44:32 -0800 Subject: [PATCH] Fixed grunt babel path and added --dev option --- gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index ed686b427..a66455ed0 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -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" }]