2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

webpack-cli を webpack-command に変えた

Last updated at Posted at 2018-06-08

コマンドラインで webpack を操作する webpack-cliwebpack-command に変えた。

Webpack公式のチュートリアルで webpack-cli と併記で紹介されおり、軽いのが特徴。
webpack-cli が持つ機能は端折られている

webpack-cli をアンインストールし、
npm uninstall --save-dev webpack-cli

webpack-command をインストール。
npm i --save-dev webpack-command

脆弱性の自動修正(完全ではない)
npm audit fix

見た目はちょっと変わるが、
自分の使い方では使い勝手は変わらない。
webpack が v4 になって十分速いので、早くなった感は特にない。

2
1
2

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?