introduce es6 and babel to whole app

This commit is contained in:
Berkeley Martinez
2015-06-29 12:01:56 -07:00
parent 28395a5957
commit c33c6c9a8f
4 changed files with 11 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
require('babel/register');
var gulp = require('gulp'),
path = require('path'),
@@ -118,6 +119,7 @@ gulp.task('serve', function(cb) {
script: paths.server,
ext: '.js',
ignore: paths.serverIgnore,
exec: './node_modules/.bin/babel-node',
env: {
'NODE_ENV': 'development',
'DEBUG': process.env.DEBUG || 'freecc:*'