http://zhaoda.net/webpack-han...
這個文檔里面
require("!style!css!./style.css") // 載入 style.css
document.write('It works.')
document.write(require('./module.js'))
其中require("!style!css!./style.css") // 載入 style.css的!style!css!是什么意思?
業(yè)精于勤,荒于嬉;行成于思,毀于隨。
style! 表示 style-loader
css! 表示 css-loader
省略 -loader
后綴在 webpack2 中已經(jīng)不贊成了
https://github.com/webpack/webpack/issues/2986