mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(deps): resolve build dependency conflicts for Vercel deployment
This commit is contained in:
+2
-1
@@ -131,7 +131,8 @@
|
||||
},
|
||||
"resolutions": {
|
||||
"@bonfida/spl-name-service": "3.0.0",
|
||||
"@libp2p/utils": "6.7.1"
|
||||
"@libp2p/utils": "7.0.7",
|
||||
"@noble/hashes": "1.8.0"
|
||||
},
|
||||
"main": "electron/main.js",
|
||||
"build": {
|
||||
|
||||
+3
-1
@@ -163,7 +163,9 @@ export default defineConfig({
|
||||
'stream': 'stream-browserify',
|
||||
'crypto': 'crypto-browserify',
|
||||
'buffer': 'buffer',
|
||||
}
|
||||
},
|
||||
// Force resolving to main exports to avoid missing specifier errors
|
||||
mainFields: ['browser', 'module', 'main']
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
|
||||
Reference in New Issue
Block a user