-
Install peer dependencies
for app (type checking only):
yarn add -E @babel/runtime core-js
for library (type checking and generate typings):
yarn add @babel/runtime
-
yarn add -DE @babel/core @foray1010/babel-preset
-
Create an
.babelrc.mjs
in the project rootconst config = { presets: ['@foray1010/babel-preset'], } export default config
@foray1010/babel-preset
12.0.2 • Public • PublishedDependencies (11)
- @babel/helper-plugin-utils
- @babel/plugin-transform-react-constant-elements
- @babel/plugin-transform-react-inline-elements
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript
- @foray1010/common-presets-utils
- babel-plugin-transform-react-remove-prop-types
- browserslist
- semver
Dev Dependencies (1)
Package Sidebar
Install
npm i @foray1010/babel-preset
Repository
Weekly Downloads
23
Version
12.0.2
License
MIT
Unpacked Size
24.4 kB
Total Files
6