diff --git a/config/webpack.prod.js b/config/webpack.prod.js index 8378afac..01dc9cca 100644 --- a/config/webpack.prod.js +++ b/config/webpack.prod.js @@ -28,7 +28,9 @@ const TerserPlugin = require('terser-webpack-plugin'); const CompressionWebpackPlugin = require('compression-webpack-plugin'); const GitRevisionPlugin = require('git-revision-webpack-plugin'); -const gitRevision = new GitRevisionPlugin(); +const gitRevision = new GitRevisionPlugin({ + versionCommand: "describe --tags --dirty --match='v*' --abbrev=14", +}); const root = (path) => resolve(__dirname, `../${path}`); const version = common.version;