🔧 chore: Fix vercel build

This commit is contained in:
canisminor1990
2025-01-08 22:11:44 +08:00
parent 1ef0a4f336
commit 126e892e21
2 changed files with 2 additions and 7 deletions
+2 -6
View File
@@ -89,6 +89,7 @@ export default defineConfig({
define: {
'process.env': process.env,
},
exportStatic: {},
extraBabelPlugins: ['babel-plugin-antd-style'],
favicons: ['https://lobehub.com/favicon.ico'],
jsMinifier: 'swc',
@@ -109,15 +110,10 @@ export default defineConfig({
],
entryFile: isProduction ? './src/index.ts' : undefined,
},
scripts: [
{
'data-domain': 'ui.lobehub.com',
'src': 'https://plausible.lobehub-inc.cn/js/script.js',
},
],
sitemap: {
hostname: 'https://ui.lobehub.com',
},
ssr: isProduction ? {} : false,
styles: [
`html, body { background: transparent; }
-1
View File
@@ -142,7 +142,6 @@
},
"devDependencies": {
"@ant-design/icons": "^5.5.2",
"@babel/runtime": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@lobehub/lint": "^1.25.3",
"@testing-library/react": "^16.1.0",