git revision 1

git revision

npm install --save-dev git-revision-webpack-plugin

Here is what the above code is Doing:
1. We’re importing the plugin.
2. We’re creating a new instance of the plugin.
3. We’re adding the plugin to the plugins array.

Similar Posts