circular-dependency-plugin
circular-dependency-plugin copied to clipboard
Escaped forward slashes in paths do not work on Windows
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?