ERROR in ./demo.js Module not found: Error: Can't resolve 'style' in 'C:UsersKim.gaoDesktopwebpack入门app入门app' BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'style-loader' instead of 'style', see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed @ ./demo.js 1:0-33
解决方法:
require("!style-loader!css-loader!./style.css");