Skip to content

Commit d883b90

Browse files
Show proper version for lightweight tags (#2152)
Our Git Webpack plugin supports lightweight tags, but we don't have the right configuration options set to enable it. This PR enables support for lightweight tags.
1 parent d61083d commit d883b90

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

webpack.mix.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ const webpack_plugins = [
6464

6565
if (git_clone) {
6666
const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
67-
webpack_plugins.push(new GitRevisionPlugin());
67+
webpack_plugins.push(new GitRevisionPlugin({
68+
lightweightTags: true,
69+
}));
6870
}
6971

7072
// Copy angularjs files to build directory.

0 commit comments

Comments
 (0)