Add to stage-1 preset
This commit is contained in:
parent
0740e61131
commit
f363ec6b99
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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,
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user