Move plugin-transform-unicode-property-regex to stage 3
This commit is contained in:
parent
ba671d0a66
commit
5492fe130a
@ -9,7 +9,6 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-plugin-transform-class-properties": "7.0.0-alpha.12",
|
"babel-plugin-transform-class-properties": "7.0.0-alpha.12",
|
||||||
"babel-plugin-transform-unicode-property-regex": "^2.0.0",
|
|
||||||
"babel-preset-stage-3": "7.0.0-alpha.12"
|
"babel-preset-stage-3": "7.0.0-alpha.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import presetStage3 from "babel-preset-stage-3";
|
import presetStage3 from "babel-preset-stage-3";
|
||||||
|
|
||||||
import transformClassProperties from "babel-plugin-transform-class-properties";
|
import transformClassProperties from "babel-plugin-transform-class-properties";
|
||||||
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";
|
|
||||||
|
|
||||||
export default function () {
|
export default function () {
|
||||||
return {
|
return {
|
||||||
@ -10,7 +9,6 @@ export default function () {
|
|||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
transformClassProperties,
|
transformClassProperties,
|
||||||
transformUnicodePropertyRegex,
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.12",
|
"babel-plugin-syntax-dynamic-import": "7.0.0-alpha.12",
|
||||||
"babel-plugin-transform-async-generator-functions": "7.0.0-alpha.12",
|
"babel-plugin-transform-async-generator-functions": "7.0.0-alpha.12",
|
||||||
"babel-plugin-transform-object-rest-spread": "7.0.0-alpha.12"
|
"babel-plugin-transform-object-rest-spread": "7.0.0-alpha.12",
|
||||||
|
"babel-plugin-transform-unicode-property-regex": "^2.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import syntaxDynamicImport from "babel-plugin-syntax-dynamic-import";
|
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";
|
import transformAsyncGeneratorFunctions from "babel-plugin-transform-async-generator-functions";
|
||||||
|
import transformObjectRestSpread from "babel-plugin-transform-object-rest-spread";
|
||||||
|
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";
|
||||||
|
|
||||||
export default function () {
|
export default function () {
|
||||||
return {
|
return {
|
||||||
@ -8,6 +9,7 @@ export default function () {
|
|||||||
syntaxDynamicImport,
|
syntaxDynamicImport,
|
||||||
transformAsyncGeneratorFunctions,
|
transformAsyncGeneratorFunctions,
|
||||||
transformObjectRestSpread,
|
transformObjectRestSpread,
|
||||||
|
transformUnicodePropertyRegex,
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user