fix build on ci
This commit is contained in:
parent
39da2719a8
commit
044ada20d8
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export default defineConfig({
|
|||
// ],
|
||||
define: {
|
||||
'process.env.BUILD_VERSION': JSON.stringify(!dev ? buildingVersion : 'undefined'),
|
||||
'process.env.MAIN_MENU_LINKS': process.env.MAIN_MENU_LINKS,
|
||||
'process.env.MAIN_MENU_LINKS': JSON.stringify(process.env.MAIN_MENU_LINKS),
|
||||
'process.platform': '"browser"',
|
||||
'process.env.GITHUB_URL':
|
||||
JSON.stringify(`https://github.com/${process.env.GITHUB_REPOSITORY || `${process.env.VERCEL_GIT_REPO_OWNER}/${process.env.VERCEL_GIT_REPO_SLUG}`}`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue