egoist/rollup-plugin-postcss

Compatibility with yarn v2

Open

#238 aberto em 29 de fev. de 2020

Ver no GitHub
 (9 comments) (4 reactions) (0 assignees)JavaScript (689 stars) (209 forks)user submission
buggood first prhelp wanted

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

Guia do colaborador