Say you're using webpack only for bundling, then it's suggested that you install it with -save-dev option since you're not going to include webpack in your production build. Whether to use -save-dev or not depends on your use cases. # or specific version npm install -save-dev tip To install the latest release or a specific version, run one of the following commands: npm install -save-dev webpack You may run into a variety of issues with the older versions as they may be missing functionality webpack and/or its related packages require. The current Long Term Support (LTS) release is an ideal starting point. Prerequisitesīefore we begin, make sure you have a fresh version of Node.js installed. This guide goes through the various methods used to install webpack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |