Add to stage-1 preset

This commit is contained in:
Justin Ridgewell 2017-06-27 01:27:41 -04:00
parent 0740e61131
commit f363ec6b99
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"babel-plugin-transform-decorators": "7.0.0-alpha.12",
"babel-plugin-transform-export-extensions": "7.0.0-alpha.12",
"babel-plugin-transform-numeric-separator": "7.0.0-alpha.12",
"babel-plugin-transform-optional-chaining": "7.0.0-alpha.13",
"babel-preset-stage-2": "7.0.0-alpha.12"
}
}

View File

@ -3,6 +3,7 @@ import presetStage2 from "babel-preset-stage-2";
import transformDecorators from "babel-plugin-transform-decorators";
import transformExportExtensions from "babel-plugin-transform-export-extensions";
import transformNumericSeparator from "babel-plugin-transform-numeric-separator";
import transformOptionalChaining from "babel-plugin-transform-optional-chaining";
export default function () {
return {
@ -13,6 +14,7 @@ export default function () {
transformDecorators,
transformExportExtensions,
transformNumericSeparator,
transformOptionalChaining,
],
};
}