This commit is contained in:
@ -5,6 +5,7 @@ import legacy from '@vitejs/plugin-legacy';
|
||||
* @type {import('vite').UserConfig}
|
||||
*/
|
||||
const config = {
|
||||
base: './',
|
||||
define: {
|
||||
'__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""),
|
||||
'__APP_BUILD_TIME': Math.floor(Date.now() / 1000),
|
||||
|
Reference in New Issue
Block a user