We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1166bd8 commit 61bed99Copy full SHA for 61bed99
src/version.ts
@@ -11,7 +11,9 @@ if (!window.CubeUIKit || !Array.isArray(window.CubeUIKit)) {
11
};
12
}
13
14
-window.CubeUIKit.version.push(process.env.VERSION as string);
+if (typeof process !== 'undefined' && process.env?.VERSION) {
15
+ window.CubeUIKit.version.push(process.env.VERSION as string);
16
+}
17
18
if (window.CubeUIKit.version.length > 1) {
19
console.error('More than one version of CubeUIKit is loaded');
0 commit comments