-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.ts
More file actions
29 lines (23 loc) · 786 Bytes
/
next.config.ts
File metadata and controls
29 lines (23 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
webpack: (config) => {
config.resolve.alias = {
...(config.resolve.alias || {}),
// Dependencias opcionales de wagmi/connectors que NO usas
"@walletconnect/ethereum-provider": false,
"@coinbase/wallet-sdk": false,
"@metamask/sdk": false,
"@gemini-wallet/core": false,
"@safe-global/safe-apps-sdk": false,
"@safe-global/safe-apps-provider": false,
"@base-org/account": false,
// Porto (arrastrado indirectamente)
"porto": false,
"porto/internal": false,
// React Native storage (traído por algunos SDKs)
"@react-native-async-storage/async-storage": false,
};
return config;
},
};
export default nextConfig;