circular-dependency-plugin icon indicating copy to clipboard operation
circular-dependency-plugin copied to clipboard

Escaped forward slashes in paths do not work on Windows

Open MetRonnie opened this issue 2 years ago • 0 comments

E.g.

exclude: /node_modules|src\/components\/myComponent/,

works on Linux but on Windows I get the cyclic dependency errors for that component.

A workaround is to use [\/\\] instead of just \/. Is there a better way?

MetRonnie avatar May 25 '22 09:05 MetRonnie