test(app): prebundle browser JSX runtime
This commit is contained in:
@@ -65,6 +65,7 @@ export default defineConfig({
|
||||
// so it scans the native files and dies on imports react-native-web has no answer for.
|
||||
// Unbundled, the same imports go through the resolver below and land on the web files.
|
||||
optimizeDeps: {
|
||||
include: ["react/jsx-runtime"],
|
||||
exclude: ["react-native-reanimated"],
|
||||
},
|
||||
// The globals a React Native bundler defines, which esbuild is no longer there to supply for
|
||||
|
||||
Reference in New Issue
Block a user