egoist/rollup-plugin-postcss

Compatibility with yarn v2

Open

#238 opened on Feb 29, 2020

View on GitHub
 (9 comments) (4 reactions) (0 assignees)JavaScript (209 forks)user submission
buggood first prhelp wanted

Repository metrics

Stars
 (689 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When running in the context of Yarn v2 Pnp, this plugin fails with the error.

Example with react-grid-layout:

[!] (plugin postcss) Error: EISDIR: illegal operation on a directory, read
../../../.yarn/$$virtual/react-grid-layout-virtual-663c3a9629/0/cache/react-grid-layout-npm-0.16.6-5842f88c2d-2.zip/node_modules/react-grid-layout/css/styles.css

The only workaround is to yarn unplug react-grid-layout

Contributor guide