admin管理员组

文章数量:1208155

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.

本文标签: javascriptinstall webpack VS install webpackcliStack Overflow