npm

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

@launchpadlab/babel-preset

2.1.0 • 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

83

version

2.1.0

license

MIT

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability