Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Webpack conf #3690
hm, by switching forward slashes for backwards slashes, doesn't this break things on unix in favour of working on windows? or is there some voodoo happening to make it work on unix too that i'm missing?
also, i'm not keen on some of the formatting changes here (or mixing them together with the functional bit of the commit) - the long lines have been deliberately broken up in places for aesthetic clarity. (or has eslint bullied you into this?)
It isn't switching forward slashes for backwards slashes, its providing a regex for each, so one would trigger on *nix and the other on Windows. If any regex trips then that file won't be parsed.
ESLint very much bullied me complaining about a lacking trailing comma if its split across multiple lines, I trusted its false positives in the first commit and thus the test failed spectacularly.