最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - install webpack VS install webpack-cli? - Stack Overflow

programmeradmin2浏览0评论

What is the difference installing between the two? I installed webpack globally as said on the installation page then I moved to getting started it is said there to install webpack-cli locally. CLI = Command Line Interface, Does that mean webpack do not have cli so that I have to install webpack-cli?

What is the difference installing between the two? I installed webpack globally as said on the installation page then I moved to getting started it is said there to install webpack-cli locally. CLI = Command Line Interface, Does that mean webpack do not have cli so that I have to install webpack-cli?

Share Improve this question asked Aug 21, 2018 at 11:51 nononono 2733 silver badges5 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 21

Since webpack version 4, the command line interface got removed from the main package and added to its own repo and package.

You are obliged to install a cli aside of webpack. CLI = command line interface, webpack = main functionalities.

发布评论

评论列表(0)

  1. 暂无评论