Move syntax-dynamic-import to stage-3 (#5610)
This commit is contained in:
parent
0b917c00d6
commit
216cbf5bd6
@ -8,7 +8,6 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-preset-stage-2",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.3",
|
||||
"babel-plugin-transform-class-properties": "7.0.0-alpha.7",
|
||||
"babel-plugin-transform-unicode-property-regex": "^2.0.0",
|
||||
"babel-preset-stage-3": "7.0.0-alpha.7"
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import presetStage3 from "babel-preset-stage-3";
|
||||
|
||||
import syntaxDynamicImport from "babel-plugin-syntax-dynamic-import";
|
||||
import transformClassProperties from "babel-plugin-transform-class-properties";
|
||||
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";
|
||||
|
||||
@ -10,7 +9,6 @@ export default function () {
|
||||
presetStage3,
|
||||
],
|
||||
plugins: [
|
||||
syntaxDynamicImport,
|
||||
transformClassProperties,
|
||||
transformUnicodePropertyRegex,
|
||||
],
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-preset-stage-3",
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.3",
|
||||
"babel-plugin-transform-async-generator-functions": "7.0.0-alpha.7",
|
||||
"babel-plugin-transform-object-rest-spread": "7.0.0-alpha.7"
|
||||
}
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
import syntaxDynamicImport from "babel-plugin-syntax-dynamic-import";
|
||||
import transformObjectRestSpread from "babel-plugin-transform-object-rest-spread";
|
||||
import transformAsyncGeneratorFunctions from "babel-plugin-transform-async-generator-functions";
|
||||
|
||||
export default function () {
|
||||
return {
|
||||
plugins: [
|
||||
syntaxDynamicImport,
|
||||
transformAsyncGeneratorFunctions,
|
||||
transformObjectRestSpread,
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user