Skip to content

Commit 9284b1f

Browse files
committed
Fix VERSION param to use node process version
1 parent 5b67f86 commit 9284b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.erb/configs/webpack.config.base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const configuration: webpack.Configuration = {
5252
plugins: [
5353
new webpack.EnvironmentPlugin({
5454
NODE_ENV: 'production',
55-
VERSION: require("../../package.json").version,
55+
VERSION: process.env.npm_package_version,
5656
}),
5757
],
5858
};

0 commit comments

Comments
 (0)