You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
25.9.8
What operating system are you using?
Windows
Operating System Version
win10
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
i wanna read the version data in the package.json in the production environment. That means process.env.npm_package_version has value in production environment.
Actual Behavior
only in the development mode, process.env.npm_package_version has value. And in the production mode, its value is undefined.
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
The issues tracker is used for feature requests and bug reports, so you will probably have better luck with this question at one of the links at the project's Community page -- in particular, be sure to give the Electron Discord server a try.
Preflight Checklist
Electron Version
25.9.8
What operating system are you using?
Windows
Operating System Version
win10
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
i wanna read the version data in the package.json in the production environment. That means process.env.npm_package_version has value in production environment.
Actual Behavior
only in the development mode, process.env.npm_package_version has value. And in the production mode, its value is undefined.
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: