We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d55eac commit aecf4c8Copy full SHA for aecf4c8
2 files changed
.npmrc
@@ -7,3 +7,4 @@ public-hoist-pattern[]=*react-native*
7
public-hoist-pattern[]=*whatwg-fetch*
8
public-hoist-pattern[]=*@babel*
9
public-hoist-pattern[]=*metro*
10
+public-hoist-pattern[]=*pdfjs*
packages/app-expo/scripts/cleanup-unused-modules.sh
@@ -14,14 +14,11 @@ MONOREPO_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd)"
14
echo " Monorepo root: $MONOREPO_ROOT"
15
16
# Define the modules to remove (these are brought in by @huggingface/transformers but not needed on mobile)
17
+# Note: Only remove modules that are NOT needed by desktop build
18
UNUSED_MODULES=(
19
"onnxruntime-node"
20
"onnxruntime-web"
21
"@pagefind"
- "pdfjs-dist"
22
- "typescript"
23
- "esbuild"
24
- "@biomejs"
25
"react-devtools-core"
26
)
27
0 commit comments