Skip to content

Latest commit

 

History

History

babel-preset

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@trigen/babel-preset

NPM version Node version Dependencies status Install size Build status

Trigen's Babel preset.

Install

pnpm add -D @trigen/babel-preset
# or
yarn add -D @trigen/babel-preset
# or
npm i -D @trigen/babel-preset

Configure

Add @trigen/babel-preset to your presets in .babelrc.json.

Options

Option Default value for app env lib env jest env
targets false false { node: 'current' }
useBuiltIns 'usage'
corejs 3
commonjs false false true
typescript false
react false
transformDynamicImport false false true
transformRuntime false true false
requireContextHook false false true
reactConstantElements
reactRemovePropTypes { mode: 'unsafe-wrap' }