diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index a8f88fa2..31a6177e 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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" diff --git a/front/apps/web/next.config.js b/front/apps/web/next.config.js index 75d48866..48c7ed06 100755 --- a/front/apps/web/next.config.js +++ b/front/apps/web/next.config.js @@ -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",