Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.

Commit b579328

Browse files
fix: remove stage-0 for specific plugins
1 parent 257f3e6 commit b579328

File tree

3 files changed

+31
-100
lines changed

3 files changed

+31
-100
lines changed

packages/babel-preset-atlauncher/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ module.exports = function() {
88
node: 8,
99
},
1010
}],
11-
require('babel-preset-stage-0'),
1211
require('babel-preset-react'),
1312
],
1413
plugins: [
14+
require('babel-plugin-transform-class-properties'),
15+
require('babel-plugin-transform-export-extensions'),
16+
require('babel-plugin-transform-function-bind'),
17+
require('babel-plugin-transform-object-rest-spread'),
1518
require('babel-plugin-transform-runtime'),
1619
require('babel-plugin-transform-regenerator'),
1720
require('babel-plugin-transform-react-remove-prop-types').default,

packages/babel-preset-atlauncher/package-lock.json

Lines changed: 22 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/babel-preset-atlauncher/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717
},
1818
"homepage": "https://github.com/ATLauncher/style-guide",
1919
"dependencies": {
20+
"babel-plugin-transform-class-properties": "^6.24.1",
21+
"babel-plugin-transform-export-extensions": "^6.22.0",
22+
"babel-plugin-transform-function-bind": "^6.22.0",
23+
"babel-plugin-transform-object-rest-spread": "^6.23.0",
2024
"babel-plugin-transform-react-remove-prop-types": "^0.4.5",
2125
"babel-plugin-transform-regenerator": "^6.24.1",
2226
"babel-plugin-transform-runtime": "^6.23.0",
2327
"babel-preset-env": "^1.5.2",
24-
"babel-preset-react": "^6.24.1",
25-
"babel-preset-stage-0": "^6.24.1"
28+
"babel-preset-react": "^6.24.1"
2629
},
2730
"engines": {
2831
"node": ">= 8"

0 commit comments

Comments
 (0)