0.0.1 • Published 7 years ago

babel-preset-thriller v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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.