1

Having config in .env file like:

REACT_APP_VERSION=$npm_package_version

i still get undefined in variable process.env.REACT_APP_VERSION.

Also variable process.env.npm_package_version is undefined.

I could not find anything useful so far.

I also checked my package.json file and it includes entry "version": "1.1.2"

spender
  • 117,338
  • 33
  • 229
  • 351
Michał Turczyn
  • 32,028
  • 14
  • 47
  • 69

0 Answers0