babel-preset-aza
This package includes the Babel preset used for React SSR
Usage
First, install Babel.
Then, install babel-preset-aza
npm install --save babel-preset-aza
Then create a file named .babelrc
with following contents in the root folder of your project:
"presets": "aza"
This preset uses the useBuiltIns
option with transform-object-rest-spread, which assumes that Object.assign
is available or polyfilled.