descro playgound & sdk
This commit is contained in:
27
app/next.config.ts
Normal file
27
app/next.config.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import type { NextConfig } from 'next'
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
transpilePackages: [
|
||||
'@tamagui/lucide-icons-2',
|
||||
'@descro/sdk',
|
||||
'@solana/wallet-adapter-react-ui',
|
||||
],
|
||||
turbopack: {
|
||||
resolveAlias: {
|
||||
'react-native': 'react-native-web',
|
||||
'react-native-svg': '@tamagui/react-native-svg',
|
||||
},
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.resolve.fallback = {
|
||||
...config.resolve.fallback,
|
||||
fs: false,
|
||||
os: false,
|
||||
path: false,
|
||||
crypto: false,
|
||||
}
|
||||
return config
|
||||
},
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
Reference in New Issue
Block a user