I followed this tutorial, it is not working when I try to add a css file
cat entry.js
require("!style!css!./style.css");
document.write(require('./content.js'));
webpack_tutorial$ webpack ./entry.js bundle.js
Hash: 6975b28bf0ad8a1c7ddd
Version: webpack 1.9.10
Time: 42ms
Asset Size Chunks Chunk Names
bundle.js 1.74 kB 0 [emitted] main
[0] ./entry.js 76 bytes {0} [built] [1 error]
[1] ./content.js 45 bytes {0} [built]
ERROR in ./entry.js
Module not found: Error: Cannot resolve module 'style' in /Users/hongbozhang/git/react.git/code/webpack_tutorial
@ ./entry.js 1:1-34
ah, it’s css-loader, it would be nice to document it : )