Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/rsbuild/rsbuild.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ const getSharedConfiguration = ({file = '.env', isDevServer = false}: Environmen
// @sentry/react-native references the optional expo-updates module. We do not install it,
// so web/Storybook bundles should treat it as unavailable instead of failing resolution.
'expo-updates': false,
// @sentry/react-native references Expo Router internally. We do not install it, so web/Storybook
// bundles should treat it as unavailable instead of failing resolution.
'expo-router/build/global-state/router-store': false,
// Use legacy build of pdfjs-dist to support older browsers
'pdfjs-dist$': path.resolve(dirname, '../../node_modules/pdfjs-dist/legacy/build/pdf.mjs'),
'@assets': path.resolve(dirname, '../../assets'),
Expand Down
Loading
Loading