This package contains shareable babel.js configuration used by the applications created with @shaizei/cli.
npm install @shaizei/babel-presetThis package contains shareable babel.js configuration used by the applications created with @shaizei/cli.
Using Yarn:
``shell`
yarn add @shaizei/babel-preset --dev
Using npm:
`shell`
npm install @shaizei/babel-preset --save-dev
* Create a new .babelrc file@shaizei/babel-preset
* Add as follows:
For JavaScript projects:
`javascript`
{
"presets": "@shaizei/babel-preset"
}
If you want to override the default configuration, then extend .babelrc normally.
Note that you can also create babel.config.js instead of .babelrc` file.