Windows系統下提示“webpack”不是內部命令 。要進入node_modules/.bin/目錄下
在執行webpack ../../hello.js hello.bundle.js 這樣就可以了
在執行webpack ../../hello.js hello.bundle.js 這樣就可以了
2017-03-01
It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'style-loader' instead of 'style'.
You need to specify 'style-loader' instead of 'style'.
2017-02-28
http://webpack.github.io/docs/configuration.html#module-loaders
這是官方文檔地址,有興趣的同學可以看看
這是官方文檔地址,有興趣的同學可以看看
2017-02-28