Skip to content

Commit

Permalink
Upgrade @rollup/plugin-babel.
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jun 20, 2020
1 parent 01a0e2e commit cf2b28d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -45,6 +45,7 @@
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.6",
"@rollup/plugin-babel": "^5.0.3",
"cross-env": "^7.0.2",
"doctrine": "^3.0.0",
"eslint": "7.2.0",
Expand All @@ -62,7 +63,6 @@
"react-dom": "^16.13.0",
"react-test-renderer": "^16.13.0",
"rollup": "^2.0.6",
"rollup-plugin-babel": "^4.4.0",
"tsd": "^0.11.0"
},
"sideEffects": false
Expand Down
6 changes: 4 additions & 2 deletions rollup.config.js
@@ -1,4 +1,4 @@
import babel from 'rollup-plugin-babel';
import babel from '@rollup/plugin-babel';

const meta = require('./package.json');

Expand All @@ -14,6 +14,8 @@ export default {
external: Object.keys(meta.dependencies)
.concat(Object.keys(meta.peerDependencies)),
plugins: [
babel(),
babel({
babelHelpers: 'bundled',
}),
],
};

0 comments on commit cf2b28d

Please sign in to comment.