From d6a2da402c235a1538e62a35ab432096b362b2c9 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 18 Jul 2026 12:44:22 +0200 Subject: [PATCH] fix(webpack): set global appVersion --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 0c16d61..5cfd868 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,6 +7,7 @@ const NodePolyfillPlugin = require('node-polyfill-webpack-plugin') const TerserPlugin = require('terser-webpack-plugin') const appName = 'side_menu' +const appVersion = '6.x' const buildMode = process.env.NODE_ENV const isDev = buildMode === 'development' @@ -80,6 +81,7 @@ module.exports = { new webpack.DefinePlugin({ appName: JSON.stringify(appName), + appVersion: JSON.stringify(appVersion), }), ],