mirror of
https://github.com/transformerlab/transformerlab-app.git
synced 2025-04-14 07:48:20 +03:00
Fix VERSION param to use node process version
This commit is contained in:
@@ -52,7 +52,7 @@ const configuration: webpack.Configuration = {
|
||||
plugins: [
|
||||
new webpack.EnvironmentPlugin({
|
||||
NODE_ENV: 'production',
|
||||
VERSION: require("../../package.json").version,
|
||||
VERSION: process.env.npm_package_version,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user