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 8ab3213 commit dc7f244Copy full SHA for dc7f244
src/main.js
@@ -38,8 +38,6 @@ import defaultWorkspaceGraphConfigs from './workspaces-ctzsnooze.json';
38
// TODO: this is a hack, once we move to web fix this
39
globalThis.userSettings = null;
40
41
-var VIEWER_VERSION = getManifestVersion(); // Current version
42
-
43
// these values set the initial dimensions of a secondary window
44
// which always opens at the centre of the user's screen
45
const NEW_WINDOW_WIDTH = 1000;
vite.config.js
@@ -40,4 +40,7 @@ export default {
},
}),
],
+ define: {
+ VIEWER_VERSION: JSON.stringify(process.env.npm_package_version),
+ },
46
}
0 commit comments