Repository URL to install this package:
|
Version:
1.3.1 ▾
|
/**
* @description put the version on window, for checking deployment version
*/
if (process.env.DEVTOOLS_GLOBALS_VERSION_ENABLED) {
if (typeof window === 'object') {
const { version, versions } = require('@skava/di').get('package')
// could do .version
// but sticking with this uid
window.skreact = {
message: `go to ${window.location.host}/status`,
version,
...versions,
}
}
}