Skip to content

Commit

Permalink
fix build on ci
Browse files Browse the repository at this point in the history
zardoy committed Aug 16, 2024
1 parent 39da271 commit 044ada2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsbuild.config.ts
Original file line number Diff line number Diff line change
@@ -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}`}`),

0 comments on commit 044ada2

Please sign in to comment.