babel、loader、plugin、log、 position
Compile ES2015 default and rest parameters to ES5
Compile ES2015 classes to ES5
Allow parsing of the module attributes in the import statement
Helper function to replace supers
Compile class public and private fields, private methods and decorators to ES6
Add a __source prop to all JSX Elements
Compile ES2015 sticky regex to an ES5 RegExp constructor
Helper function to optimise call expression
Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator
Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings
Add a __self prop to all JSX Elements
Allow parsing of class properties
Allow parsing of the module assertion attributes in the import statement
Compile ES2015 destructuring to ES5
This plugin transforms ES2015 modules to CommonJS
Babel plugin to ensure function declarations at the block level are block scoped
Explode async and generator functions into a state machine.
This plugin transforms private class methods
Helper to wrap functions inside a function call.
Helper function to replace certain member expressions with function calls
Compile ES2015 shorthand properties to ES5
#### USAGE ``` javascript // lazy-webpack // ... presets: [{ name: 'babel', options: {} // you can pass the babel-loader options here }] //... ```
Compile exponentiation operator to ES5