Skip to content

Commit

Permalink
Move plugin-transform-unicode-property-regex to stage 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Jun 21, 2017
1 parent ba671d0 commit 5492fe1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/babel-preset-stage-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"main": "lib/index.js",
"dependencies": {
"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"
}
}
2 changes: 0 additions & 2 deletions packages/babel-preset-stage-2/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import presetStage3 from "babel-preset-stage-3";

import transformClassProperties from "babel-plugin-transform-class-properties";
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";

export default function () {
return {
Expand All @@ -10,7 +9,6 @@ export default function () {
],
plugins: [
transformClassProperties,
transformUnicodePropertyRegex,
],
};
}
3 changes: 2 additions & 1 deletion packages/babel-preset-stage-3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"babel-plugin-syntax-dynamic-import": "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"
}
}
4 changes: 3 additions & 1 deletion packages/babel-preset-stage-3/src/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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 transformObjectRestSpread from "babel-plugin-transform-object-rest-spread";
import transformUnicodePropertyRegex from "babel-plugin-transform-unicode-property-regex";

export default function () {
return {
plugins: [
syntaxDynamicImport,
transformAsyncGeneratorFunctions,
transformObjectRestSpread,
transformUnicodePropertyRegex,
],
};
}

0 comments on commit 5492fe1

Please sign in to comment.