babel-preset-frack

0.0.1 • Public • Published

babel-preset-frack

This package includes the Babel preset used by Front-end Dev Stack.
Please refer to its documentation:

Usage in Front-end Dev Stack Projects

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

Usage Outside of Front-end Dev Stack

If you want to use this Babel preset in a project not built with Front-end Dev Stack, you can install it with following steps.

First, install Babel.

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

{
  "presets": ["react-app"]
}

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-frack

Weekly Downloads

0

Version

0.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • viktorbezdek