You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: explain that you have to use a babel.config.js for Yarn PnP (shakacode#484)
* docs: provide a basic skeleton example on customizing the babel config
* docs: mention that you have to switch to `babel.config.js` for Yarn PnP
* docs: add changelog entry
* docs: add language to code fence
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,8 @@ If `packageManager` is not set when running `shakapacker:install`, Shakapacker w
167
167
168
168
See [here](https://github.com/G-Rath/package_json#specifying-a-package-manager) for a list of the supported package managers and more information; note that `package_json` does not handle ensuring the manager is installed.
169
169
170
+
If you wish to use [Yarn PnP](https://yarnpkg.com/features/pnp) you will need to configure Babel using a `babel.config.js` file rather than via `package.json` - see [customizing Babel Config](./docs/customizing_babel_config.md) for examples on how to do this.
171
+
170
172
> [NOTE]
171
173
>
172
174
> The rest of the documentation will only reference `npm` when providing commands such as to install optional packages except in cases where
0 commit comments