@foray1010/babel-preset
Version:
1. Install peer dependencies
29 lines (19 loc) • 492 B
Markdown
# `@foray1010/babel-preset`
## Installation
1. Install peer dependencies
for app (type checking only):
```sh
yarn add -E @babel/runtime core-js
```
for library (type checking and generate typings):
```sh
yarn add @babel/runtime
```
2. `yarn add -DE @babel/core @foray1010/babel-preset`
3. Create an `.babelrc.mjs` in the project root
```js
const config = {
presets: ['@foray1010/babel-preset'],
}
export default config
```