This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@waldronmatt/babel-config

1.0.4 • Public • Published

DEPRECATED - Babel Config

My personal shareable babel configuration.

Why? - Alternatives to babel such as esbuild offer better performance for my projects.

Install

yarn add -D @babel/cli @babel/core @waldronmatt/babel-config

Allow babel-preset-env to target polyfills and code transforms via a .browserslistrc file:

yarn add -D @waldronmatt/browserslist-config

And create:

.browserslistrc

extends @waldronmatt/browserslist-config

Usage

babel.config.js

module.exports = {
  extends: ['@waldronmatt/babel-config'],
};

Extending

babel.config.js

module.exports = {
  extends: ['@waldronmatt/babel-config'],
  presets: ['@babel/preset-typescript'],
};

Under The Hood

index.js

  • @babel/plugin-transform-runtime
  • @babel/preset-env
  • @babel/runtime
  • browserslist
  • core-js

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @waldronmatt/babel-config

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

4.33 kB

Total Files

5

Last publish

Collaborators

  • waldronmatt