@researchgate/babel-preset
v2.0.14
Published
Babel preset for ResearchGate's projects
Downloads
157
Keywords
Readme
@researchgate/babel-preset
Babel preset for ResearchGate projects.
Install
yarn add --dev @researchgate/babel-preset
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["@researchgate/babel-preset"]
}
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