Closed karelbilek closed 4 months ago
This is something between a question and an issue, since I am not sure how it should work.
I have in the code
var version = process.env.npm_package_version
and I would expect envify to replace this with the npm package version. But it doesn't.
i also have this issue.
@tomachinz make sure you're running this from within npm scripts. $npm_package_version is injected by npm, not by Node.
npm scripts
$npm_package_version
This is something between a question and an issue, since I am not sure how it should work.
I have in the code
var version = process.env.npm_package_version
and I would expect envify to replace this with the npm package version. But it doesn't.