Inside Webpack Loaders and Rules

The Problem A webpack-based React project worked fine on macOS and Linux but threw an error on Windows when processing SCSS: Re-installing and confirmed they were present: sass@1.32.13 deduped Suspecting a matching issue, I looked at the SCSS rule: Simplifying the regex fixed it…