diff --git a/.erb/configs/webpack.config.base.ts b/.erb/configs/webpack.config.base.ts index 73b53ff..13fd936 100644 --- a/.erb/configs/webpack.config.base.ts +++ b/.erb/configs/webpack.config.base.ts @@ -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, }), ], };