Remove Babylon plugins for features already merged to the ECMAScript spec (#8448)
These are now enabled by default: - objectRestSpread (2018) - asyncGenerators (2018) - optionalCatchBInding (2019) - jsonStrings (2019) TODO (after this commit): - [ ] Deprecate the `@babel/plugin-syntax-*` packages. - [ ] Deprecate the `@babel/plugin-proposal-*` packages. - [ ] Create the `@babel/plugin-transform-*` packages.
This commit is contained in:
@@ -15,7 +15,6 @@ async_await/migrated_0020.js
|
||||
async_await/migrated_0024.js
|
||||
async_await/migrated_0027.js
|
||||
async_generators/migrated_0007.js
|
||||
catch/optional_catch_binding.js
|
||||
class_properties/migrated_0000.js
|
||||
class_properties/migrated_0005.js
|
||||
class_properties/migrated_0011.js
|
||||
|
||||
@@ -109,12 +109,10 @@ function update_whitelist(summary) {
|
||||
|
||||
const options = {
|
||||
plugins: [
|
||||
"asyncGenerators",
|
||||
"dynamicImport",
|
||||
["flow", { all: true }],
|
||||
"flowComments",
|
||||
"jsx",
|
||||
"objectRestSpread",
|
||||
"classPrivateProperties",
|
||||
],
|
||||
sourceType: "module",
|
||||
|
||||
Reference in New Issue
Block a user