Skip to content

Commit

Permalink
Show proper version for lightweight tags (#2152)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
williamjallen committed May 1, 2024
1 parent d61083d commit d883b90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const webpack_plugins = [

if (git_clone) {
const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
webpack_plugins.push(new GitRevisionPlugin());
webpack_plugins.push(new GitRevisionPlugin({
lightweightTags: true,
}));
}

// Copy angularjs files to build directory.
Expand Down

0 comments on commit d883b90

Please sign in to comment.