@shaizei/babel-preset
v0.1.0-beta.12
Published
This package contains shareable babel.js configuration used by the applications created with @shaizei/cli.
Downloads
22
Readme
Getting Started
1. Installation
Using Yarn:
yarn add @shaizei/babel-preset --devUsing npm:
npm install @shaizei/babel-preset --save-dev2. Usage
- Create a new
.babelrcfile - Add
@shaizei/babel-presetas 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.
