LoginSignup
2
1

More than 5 years have passed since last update.

webpackのチュートリアルエラー回避

Posted at

webpackのチュートリアルをやってるとcss-loaderのところでwebpackを実行すると

% webpack ./entry.js bundle.js --module-bind "css=style!.css"
zsh: event not found: .css

とエラーが出るんだけど、GitHubにも出てるようにダブルクォテーションをシングルクォーテーションにすれば解決する。

% webpack ./entry.js bundle.js --module-bind 'css=style!css'
Hash: aa51824889799250cc68
Version: webpack 1.12.9
Time: 3593ms
Asset Size Chunks Chunk Names
bundle.js 11.8 kB 0 [emitted] main
[0] ./entry.js 64 bytes {0} [built]
[5] ./content.js 44 bytes {0} [built]
+ 4 hidden modules

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1