babel-preset-stage-flow
v7.1.5
Published
standard
Downloads
47
Readme
babel-preset-stage-flow
standard
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-object-rest-spread
- @babel/plugin-syntax-dynamic-import
- @babel/plugin-transform-classes
- @babel/plugin-transform-destructuring
- @babel/plugin-transform-flow-strip-types
- @babel/plugin-transform-react-constant-elements
- @babel/plugin-transform-react-display-name
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- @babel/runtime
- babel-plugin-macros
- babel-plugin-transform-dynamic-import
- babel-plugin-transform-react-remove-prop-types
support flow
- esproposal.class_instance_fields
- esproposal.class_static_fields
- esproposal.decorators
- esproposal.export_star_as
- esproposal.optional_chaining
- esproposal.nullish_coalescing
Tips
Recommend .flowconfig
[options]
esproposal.class_instance_fields=enable
esproposal.class_static_fields=enable
esproposal.decorators=ignore
esproposal.export_star_as=enable
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$ImportStyle