BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify ' css - loader ' instead of ' css ',
CSS is not a module that can be recognized by webpack. You need to use CSS loader to convert CSS into a module that can be recognized by webpack. Configure the loader correctly in the module of webpack
Configure CSS loader