🔧 chore: Fix vercel build
This commit is contained in:
+2
-6
@@ -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; }
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user