We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5352c65 commit 63d3c11Copy full SHA for 63d3c11
config/webpack.config.js
@@ -7,7 +7,7 @@ const getVersion = () => {
7
if (process.env.VERSION) {
8
return JSON.stringify(process.env.VERSION);
9
} else {
10
- const GitRevisionPlugin = require('git-revision-webpack-plugin');
+ const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
11
const gitRevisionPlugin = new GitRevisionPlugin({
12
versionCommand: 'describe --always --tags',
13
});
0 commit comments