Output build should have correct version number burnt #2524
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Required for internal Azure reporting. Do not delete.
Version
master
Describe the bug
For the burnt version number, it appears to be
undefined
instead of4.6.0
.In PR #2182, we moved from vulnerable
babel-plugin-version-transform
tobabel-plugin-transform-inline-environment-variables
. The environment variable should be in lowercase,npm_package_version
, instead ofNPM_PACKAGE_VERSION
. Thus, the Babel plugin did not pick up and cannot burn it into the source file.To Reproduce
Steps to reproduce the behavior:
html/head/meta
and see the burnt version of Web ChatExpected behavior
It should say
4.6.0
or4.6.0-...
or0.0.0-0
(for development build).[Bug]
The text was updated successfully, but these errors were encountered: