# babel-preset-razzle

> Babel presets for Razzle

Latest version **4.2.18** (published 2022-10-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-razzle
pnpm add babel-preset-razzle
yarn add babel-preset-razzle
bun add babel-preset-razzle
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: no vulnerabilities; popular repo.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.2.18 |
| Published | 2022-10-25 |
| First published | 2017-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Unpacked size | 17.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11020 |
| Author | jaredpalmer |
| Maintainers | jaredpalmer, razzle-bot |

## Links

- npm: https://www.npmjs.com/package/babel-preset-razzle
- Repository: https://github.com/jaredpalmer/razzle
- Homepage: https://github.com/jaredpalmer/razzle#readme
- Issues: https://github.com/jaredpalmer/razzle/issues
- npm.io page: https://npm.io/package/babel-preset-razzle

## Dependencies (17)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.11.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.9.2
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.9.5
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.9.4
- [babel-plugin-syntax-jsx](https://npm.io/package/babel-plugin-syntax-jsx.md) ^6.18.0
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.9.0
- [@babel/plugin-syntax-bigint](https://npm.io/package/@babel/plugin-syntax-bigint.md) ^7.8.3
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.9.0
- [@babel/plugin-syntax-dynamic-import](https://npm.io/package/@babel/plugin-syntax-dynamic-import.md) ^7.8.3
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.8.3
- [@babel/plugin-proposal-numeric-separator](https://npm.io/package/@babel/plugin-proposal-numeric-separator.md) ^7.10.4
- [@babel/plugin-proposal-optional-chaining](https://npm.io/package/@babel/plugin-proposal-optional-chaining.md) ^7.11.0
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) ^7.10.4
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) ^7.9.5
- [babel-plugin-transform-react-remove-prop-types](https://npm.io/package/babel-plugin-transform-react-remove-prop-types.md) ^0.4.24
- [@babel/plugin-proposal-nullish-coalescing-operator](https://npm.io/package/@babel/plugin-proposal-nullish-coalescing-operator.md) ^7.10.4

## Recent versions

- 4.2.18 (latest) — 2022-10-25
- 3.4.5 (three) — 2021-03-15
- 4.0.1-canary.15 (canary) — 2021-03-12
- 4.0.0-finch.11 (finch) — 2020-09-24
- 3.0.0-alpha.2 (next) — 2019-01-07
- 4.2.17 — 2022-05-20
- 4.2.16 — 2022-03-01
- 4.2.15 — 2022-02-16
- 4.2.14 — 2022-01-20
- 4.2.13 — 2021-12-20
- 4.2.12 — 2021-12-20
- 4.2.11 — 2021-12-20
- 4.2.10 — 2021-12-20
- 4.2.9 — 2021-12-20
- 4.2.8 — 2021-12-04
- … 153 more at https://npm.io/package/babel-preset-razzle/versions

## README

# babel-preset-razzle

This package includes the [Babel](https://babeljs.io) preset used by [Razzle](https://github/com/palmerhq/razzle)

## Usage in Razzle Projects

The easiest way to use this configuration is with Razzle, which includes it by default.

## Usage Outside of Razzle

If you want to use this Babel preset in a project not built with razzle, you can install it with following steps.

First, [install Babel](https://babeljs.io/docs/setup/).

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

```js
{
  "presets": ["razzle"]
}
```

This preset uses the `useBuiltIns` option with [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/), which assumes that `Object.assign` is available or polyfilled.

---
_Source: https://npm.io/package/babel-preset-razzle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
