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

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

@edmorley

Description

@edmorley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions