egoist/rollup-plugin-postcss

Compatibility with yarn v2

Open

#238 opened on 2020年2月29日

GitHub で見る
 (9 comments) (4 reactions) (0 assignees)JavaScript (209 forks)user submission
buggood first prhelp wanted

Repository metrics

Stars
 (689 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド