diff --git a/gulpfile.js b/gulpfile.js index 1862837..21c860a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,7 +15,7 @@ gulp.task('babel', function() { return gulp.src(paths.es6) .pipe(sourcemaps.init()) .pipe(babel({ - plugins: ['object-assign'] + plugins: ['transform-object-assign'] })) .pipe(sourcemaps.write('.', { sourceRoot: paths.sourceRoot })) .pipe(gulp.dest(paths.es5)); diff --git a/package.json b/package.json index 752bbbe..1b50a36 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "babel-core": "latest", - "babel-plugin-object-assign": "latest", + "babel-plugin-transform-object-assign": "latest", "coveralls": "latest", "gulp": "latest", "gulp-babel": "latest",