Skip to content

Commit

Permalink
Include currentTime as its own prop in webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Jan 3, 2025
1 parent 55b57de commit 8de7d03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ module.exports = (_env, argv) => {
outputFile: path.join(__dirname, "dist/version.json"),
name: process.env.VERSION_FILE_NAME,
version: process.env.VERSION_FILE_VERSION,
currentTime, // Required
// We intentionally do not use any information from package.json but
// VersionFile require that we provide it.
data: {
currentTime // Required
},
packageFile: path.join(__dirname, "package.json")
})
);
Expand Down

0 comments on commit 8de7d03

Please sign in to comment.