Repository URL to install this package:
|
Version:
1.3.2 ▾
|
/**
* @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 = Object.assign({ message: `go to ${window.location.host}/status`, version }, versions);
}
}
//# sourceMappingURL=SIDE_EFFECT_GLOBAL_VERSIONS.js.map