From 2dbe3713087d60a1cf79f2c505ec7f73cc38e9a1 Mon Sep 17 00:00:00 2001 From: huymobile Date: Mon, 24 Aug 2026 09:40:59 +0700 Subject: [PATCH] docs: clarify when Three.js needs Metro aliases --- apps/docs/content/docs/getting-started/expo.mdx | 2 ++ apps/docs/content/docs/integrations/three-js.mdx | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/docs/content/docs/getting-started/expo.mdx b/apps/docs/content/docs/getting-started/expo.mdx index 9b4df58a9..8676778a7 100644 --- a/apps/docs/content/docs/getting-started/expo.mdx +++ b/apps/docs/content/docs/getting-started/expo.mdx @@ -13,6 +13,8 @@ npx create-expo-app@latest -e with-webgpu The template includes `react-native-webgpu`, Reanimated, and Metro settings compatible with Three.js WebGPU builds. +For a raw Three.js integration that imports `three/webgpu` directly, recent Expo and Metro versions can resolve that package export without a custom resolver. The template keeps additional Metro settings because it also redirects bare `three` imports and selects the standard React Three Fiber build. See the [Three.js integration guide](/docs/integrations/three-js) before copying those settings into an existing app. + For a walkthrough of the template, watch the video below.