0.1.0 • Published 3 years ago
babel-preset-upts v0.1.0
babel-preset-upts
This package includes the Babel preset used by UpTs
Usage in UpTs Projects
The easiest way to use this configuration is with UpTs, which includes it by default. You don’t need to install it separately in UpTs projects.
Usage Outside of UpTs
If you want to use this Babel preset in a project not built with UpTs, 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": ["upts"]
}
This preset uses the useBuiltIns
option with transform-object-rest-spread, which assumes that Object.assign
is available or polyfilled.
0.1.0
3 years ago