Skip to content

Commit

Permalink
feat: update to babel 7 (#2)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: babel package names have changed
  • Loading branch information
brandonocasey authored Aug 28, 2018
1 parent 08b09e2 commit ddeb89e
Show file tree
Hide file tree
Showing 3 changed files with 1,059 additions and 974 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ const istanbul = require('rollup-plugin-istanbul');
const {minify} = require('uglify-es');
const path = require('path');

const externalHelpers = require('babel-plugin-external-helpers');
const transformObjectAssign = require('babel-plugin-transform-object-assign');
const presetEnv = require('babel-preset-env');
const transformObjectAssign = require('@babel/plugin-transform-object-assign');
const presetEnv = require('@babel/preset-env');

/**
* Get the package.json from the cwd and
Expand Down Expand Up @@ -174,7 +173,6 @@ const getSettings = function(options) {
[presetEnv, {loose: true, modules: false, targets: {browsers: settings.browserslist}}]
],
plugins: [
externalHelpers,
transformObjectAssign
]
}),
Expand Down
Loading

0 comments on commit ddeb89e

Please sign in to comment.