babel-preset-thriller

0.0.1 • Public • Published

babel-preset-thriller

This package includes the Babel preset used by Thriller

Usage in Thriller Projects

The easiest way to use this configuration is with Thriller, which includes it by default. You don’t need to install it separately in Thriller projects.

Usage Outside of Thriller

If you want to use this Babel preset in a project not built with Thriller, you can install it with the following steps.

First, install Babel.

Then create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["thriller"]
}

This preset uses the useBuiltIns option with transform-object-rest-spread, which assumes that Object.assign is available or polyfilled.

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i babel-preset-thriller

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • ezekielchentnik