Webpack error: Module not found: Error: Can't resolve css

I had to use relative (starting with …/ or ./), or an absolute path (starting with /) to import styles with Webpack. Otherwise imported file is resolved as a module. More on this issue here:

1 Like