Skip to content

Latest commit

 

History

History

babel-preset

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@foray1010/babel-preset

Installation

  1. 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
  2. yarn add -DE @babel/core @foray1010/babel-preset

  3. Create an .babelrc.mjs in the project root

    const config = {
      presets: ['@foray1010/babel-preset'],
    }
    export default config