From 8de7d03f6e6085b91c7659ce5205be889fe1951f Mon Sep 17 00:00:00 2001 From: Adam Antal Date: Fri, 3 Jan 2025 12:55:31 +0100 Subject: [PATCH] Include currentTime as its own prop in webpack.config.js --- webpack.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index be1e7119d..80c725179 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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") }) );