Skip to content

Commit

Permalink
feat(babel): upgrade babel (draft-js-plugins#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
sibelius authored Sep 11, 2020
1 parent 4e25afc commit 67889ec
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 29 deletions.
8 changes: 7 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ const removeLinariaImport = () => ({
});

module.exports = {
presets: ['@babel/env', '@babel/react', '@babel/flow', 'linaria/babel'],
presets: [
'@babel/env',
'@babel/react',
'@babel/flow',
'@babel/typescript',
'linaria/babel',
],
plugins: ['@babel/proposal-class-properties', removeLinariaImport],
};
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"to-style": "^1.3.3"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.5.5",
"@babel/core": "7.11.6",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/preset-env": "7.11.5",
"@babel/preset-flow": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@babel/preset-react": "7.10.4",
"@babel/register": "7.11.5",
"@storybook/react": "^5.1.11",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^10.4.9",
Expand Down
Loading

0 comments on commit 67889ec

Please sign in to comment.