mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
set NIGHTLY=true when under dev environment
This commit is contained in:
+2
-1
@@ -61,7 +61,8 @@ export default defineConfig(({ mode }) => {
|
|||||||
.readFileSync(new URL('../Version', import.meta.url), 'utf-8')
|
.readFileSync(new URL('../Version', import.meta.url), 'utf-8')
|
||||||
.trim();
|
.trim();
|
||||||
|
|
||||||
const nightly = version.split('-').at(-1).length === 7;
|
const nightly =
|
||||||
|
mode === 'development' || version.split('-').at(-1).length === 7;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
base: '',
|
base: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user