diff --git a/gulpfile.js b/gulpfile.js index 08b7032b437e8..3cd8592639834 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -63,11 +63,6 @@ var buildDist = function(opts) { 'react': 'React', 'react-dom': 'ReactDOM' }, - module: { - loaders: [ - {test: /\.js$/, loader: 'babel'} - ], - }, output: { filename: opts.output, libraryTarget: 'umd', @@ -127,7 +122,7 @@ gulp.task('modules', function() { .pipe(gulp.dest(paths.lib)); }); -gulp.task('dist', ['modules'], function () { +gulp.task('dist', ['modules'], function() { var distOpts = { debug: true, output: 'relay.js' @@ -141,7 +136,7 @@ gulp.task('dist', ['modules'], function () { .pipe(gulp.dest(paths.dist)); }); -gulp.task('dist:min', ['modules'], function () { +gulp.task('dist:min', ['modules'], function() { var distOpts = { debug: false, output: 'relay.min.js' @@ -170,5 +165,5 @@ gulp.task('watch', function() { }); gulp.task('default', function(cb) { - runSequence('clean', 'website:check-version', 'modules', ['dist', 'dist:min'], cb); + runSequence('clean', 'website:check-version', ['dist', 'dist:min'], cb); }); diff --git a/package.json b/package.json index c84ad8ce8fd36..0ad8170147eb8 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "devDependencies": { "babel-core": "^5.8.25", "babel-eslint": "^4.1.1", - "babel-loader": "^5.3.2", "babel-relay-plugin": "^0.2.4", "del": "^1.2.0", "envify": "^3.4.0",