Once the above command is successfully executed, you can see that it is declared under the ‘ devDependencies‘ section of the package.json. Since the webpack-cli is used for the development purpose, it should be installed as a dev dependency. lets install the webpack-cli dependency for the project. (Please refer the screenshot given below) Therefore you can create and a NPM managed project with following commands. Here i assume that NPM is installed in your development environment. You need to follow the instructions given below to generate for your NPM based project.Ĭreating NPM (Node Package Manager) mananged project. This will be read by the webpack process when it starts its execution. is the file that contains the webpack related configurations for the project. The official documentation of the webpack :. After that we will look at the each component of the generated in detailed with their usage. In this article, i am going to show you how to generate file with webpack-cli.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |