These are now enabled by default: - objectRestSpread (2018) - asyncGenerators (2018) - optionalCatchBInding (2019) - jsonStrings (2019) TODO (after this commit): - [ ] Deprecate the `@babel/plugin-syntax-*` packages. - [ ] Deprecate the `@babel/plugin-proposal-*` packages. - [ ] Create the `@babel/plugin-transform-*` packages.
@babel/parser
A JavaScript parser
See our website @babel/parser for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/parser
or using yarn:
yarn add @babel/parser --dev