Skip to content

Commit 5fa6824

Browse files
authored
Remove some unused Babel plugins (#157)
We brought these in when we removed preset-stage-1, but most of them aren't needed. The only one I think we actually need is class properties because we have some tests that rely on it.
1 parent c7987f4 commit 5fa6824

File tree

3 files changed

+0
-127
lines changed

3 files changed

+0
-127
lines changed

.babelrc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,5 @@
1414
],
1515
"plugins": [
1616
"@babel/plugin-proposal-class-properties",
17-
"@babel/plugin-proposal-do-expressions",
18-
"@babel/plugin-proposal-export-default-from",
19-
"@babel/plugin-proposal-logical-assignment-operators",
20-
["@babel/plugin-proposal-nullish-coalescing-operator", { "loose": false }],
21-
["@babel/plugin-proposal-optional-chaining", { "loose": false }],
22-
["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }]
2317
]
2418
}

package-lock.json

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

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@
3636
"@babel/generator": "^7.0.0",
3737
"@babel/plugin-external-helpers": "^7.0.0",
3838
"@babel/plugin-proposal-class-properties": "^7.0.0",
39-
"@babel/plugin-proposal-do-expressions": "^7.0.0",
40-
"@babel/plugin-proposal-export-default-from": "^7.0.0",
41-
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
42-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
43-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
44-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
45-
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
4639
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
4740
"@babel/preset-env": "^7.0.0",
4841
"@babel/preset-flow": "^7.0.0",

0 commit comments

Comments
 (0)