@researchgate/babel-preset-rg
v3.0.0
Published
Babel preset for ResearchGate packages
Downloads
131
Keywords
Readme
babel-preset-rg
Babel preset for ResearchGate
Install
$ yarn add --dev @researchgate/babel-preset-rg
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["@researchgate/babel-preset-rg"]
}
Options
env BABEL_ENV
Supports either production
, development
or test
env BABEL_OUTPUT
Supports either esm
or cjs
Default to esm
unless BABEL_ENV is set to test then it defaults to cjs