Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Add support for Yarn's Plug n Play mode #1277

Closed
edmorley opened this issue Jan 4, 2019 · 0 comments
Closed

Add support for Yarn's Plug n Play mode #1277

edmorley opened this issue Jan 4, 2019 · 0 comments
Labels

Comments

@edmorley
Copy link
Member

edmorley commented Jan 4, 2019

Yarn has a new experimental and opt-in mode called "Plug n Play" that means packages are no longer installed into node_modules and are instead mapped to their cache location at runtime via a custom resolver. See:
yarnpkg/rfcs#101
https://github.com/yarnpkg/rfcs/blob/master/accepted/0000-plug-an-play.md

Whilst this new mode mostly "just works", it requires custom configuration when using certain packages such as webpack or jest. Therefore we should either add native support to Neutrino for these changes (like CRA has) or else document them.

If we were to add native support to Neutrino, we would need to:

See also:
https://github.com/yarnpkg/pnp-sample-app#plugins
facebook/create-react-app#5136

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

1 participant