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