@shaizei/babel-preset
This package contains shareable babel.js configuration used by the applications created with @shaizei/cli.
Getting Started
1. Installation
Using Yarn:
yarn add @shaizei/babel-preset --dev
Using npm:
npm install @shaizei/babel-preset --save-dev
2. Usage
- Create a new
.babelrc
file
- Add
@shaizei/babel-preset
as follows:
For JavaScript projects:
{
"presets": "@shaizei/babel-preset"
}
Override Default Config
If you want to override the default configuration, then extend .babelrc
normally.
Naming Convention
Note that you can also create babel.config.js
instead of .babelrc
file.
0.1.0-beta.12 (2019-09-14)
:rocket: New Feature
:nail_care: Enhancement
:hammer: Refactor
webpack-config
scripts
helpers
cli
babel-preset
:house: Internal
Committers: 1