Optional enableEnable support for stripping flow.js types using @babel/plugin-transform-flow-strip-types
"@remarks" transpile only, no type checking
falseENABLE_BABEL_FLOWrequireDirective behavior (defaulted to NOT required):
@flow directive in source.{ requireDirective: true }Optional enableenable support for typescript types using @babel/preset-typescript
"@remarks" transpile only, no type checking
ENABLE_BABEL_TYPESCRIPTOptional excludeList of RegExp to match files that should not be transpiled by babel.
This is checked after includeRegExp
Optional includeList of RegExp to match files that should be included for transpiling.
By default, files under node_modules are not transpiled.
You can set this to control that. ie: to compile everything under node_modules, use [/node_modules/]
Optional proposalAdd @babel/plugin-proposal-decorators
falseBABEL_PROPOSAL_DECORATORSlegacyDecorators behavior (default to enabled):
{ legacy: false }Optional transformAdd @babel/plugin-proposal-class-properties for class properties support
falseBABEL_CLASS_PROPSlooseClassProps behavior (default to enabled):
Object.defineProperty{ loose: false },
configurable options related to transpiler (babel)