babel-preset-reza

1.0.2 • Public • Published

babel-preset-reza

This package includes the Babel preset used for React SSR

Usage

First, install Babel.

Then, install babel-preset-reza

npm install --save babel-preset-reza

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

{
  "presets": ["reza"]
}

This preset uses babel-preset-env with modules: commonjs and babel-plugin-add-module-exports, to enable module.exports from commonjs

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-reza

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.06 kB

Total Files

4

Last publish

Collaborators

  • azanium