Categories
JavaScript Answers

How to determine the installed Webpack version with JavaScript?

Spread the love

To determine the installed Webpack version with JavaScript, we use the --version option.

For instance, we run

webpack --version

to run webpack with the --version option to show the Webpack version.

We can shorten it to

webpack -v

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *