Skip to content

Commit

Permalink
docs: Add babel config section.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 14, 2020
1 parent d28d6e3 commit 33fb3d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,15 @@ Once installed, you can reference the `packemon` binary within a `package.json`
}
}
```

## Babel

Packemon relies on its own internal Babel configuration for building packages, but if you want to
use the same configuration for local development and testing, update your `babel.config.js` to the
following.

```js title="babel.config.js"
module.exports = require('packemon/babel');
```

> We suggest using the configuration as is, which means no custom plugins or presets.

0 comments on commit 33fb3d9

Please sign in to comment.