egoist/rollup-plugin-postcss

Compatibility with yarn v2

Open

#238 建立於 2020年2月29日

在 GitHub 查看
 (9 留言) (4 反應) (0 負責人)JavaScript (689 star) (209 fork)user submission
buggood first prhelp wanted

描述

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

貢獻者指南