Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
/ babel-preset Public archive

⚙️ My own opinionated Babel preset

License

Notifications You must be signed in to change notification settings

jamieconnolly/babel-preset

Repository files navigation

babel-preset

Build status Dependency status MIT License Version

My own opinionated Babel preset.

Installation

$ npm install --save-dev @jamieconnolly/babel-preset

Usage

To get started, add this to your .babelrc file:

{
  "presets": ["@jamieconnolly/babel-preset"]
}

Options

For more information on setting options for a preset, refer to the plugin/preset options documentation.

debug

boolean, defaults to false.

Outputs the targets/plugins used and the version specified in plugin data version to console.log.

modules

"amd" | "umd" | "systemjs" | "commonjs" | false, defaults to false.

Enable transformation of ES6 module syntax to another module type.

Setting this to false will not transform modules.

License

MIT License