mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix web error
This commit is contained in:
parent
6733fe9c40
commit
0a30e5022b
@ -24,10 +24,11 @@ services:
|
||||
dockerfile: Dockerfile.dev
|
||||
volumes:
|
||||
- ./front:/app
|
||||
# - /app/.yarn
|
||||
# - /app/node_modules
|
||||
# - /app/apps/web/.next/
|
||||
# - /app/apps/mobile/.expo/
|
||||
- /app/.yarn
|
||||
- /app/node_modules
|
||||
- /app/apps/mobile/node_modules
|
||||
- /app/apps/web/.next/
|
||||
- /app/apps/mobile/.expo/
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "19000:19000"
|
||||
|
@ -48,6 +48,7 @@ const nextConfig = {
|
||||
alias: {
|
||||
...config.resolve.alias,
|
||||
"react-native$": "react-native-web",
|
||||
'react-native/Libraries/Image/AssetRegistry$': 'react-native-web/dist/modules/AssetRegistry',
|
||||
},
|
||||
extensions: [".web.ts", ".web.tsx", ".web.js", ".web.jsx", ...config.resolve.extensions],
|
||||
};
|
||||
@ -107,6 +108,7 @@ const nextConfig = {
|
||||
"yoshiki",
|
||||
"@expo/vector-icons",
|
||||
"@expo/html-elements",
|
||||
"expo-image",
|
||||
"expo-font",
|
||||
"expo-asset",
|
||||
"expo-av",
|
||||
|
Loading…
x
Reference in New Issue
Block a user