Need private packages and team management tools?Check out npm Teams »

@launchpadlab/babel-preset

2.1.1 • Public • Published

@launchpadlab/babel-preset

Shareable babel presets to use across projects.

Usage:

// .babelrc:
 
// To use a specific config
{
  presets: ['@launchpadlab/babel-preset/es6'],
}
 
// To use the default config (react)
{
  presets: ['@launchpadlab/babel-preset'],
}

This preset uses @babel/preset-env under the hood. To pass options down to that preset, you can pass an env option at the top level:

{
  // Will skip module transformations
  presets: [['@launchpadlab/babel-preset', { env: { modules: false } }]],
}

Migration Guides

Keywords

none

Install

npm i @launchpadlab/babel-preset

DownloadsWeekly Downloads

164

Version

2.1.1

License

MIT

Unpacked Size

182 kB

Total Files

10

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar