diff --git a/website/docs/install.mdx b/website/docs/install.mdx index 3926f2913..cff914c6c 100644 --- a/website/docs/install.mdx +++ b/website/docs/install.mdx @@ -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.