Loading require profiler data...
6 |
16 | {children}
17 |
18 | );
19 | };
20 |
--------------------------------------------------------------------------------
/packages/tanstack-query-plugin/react-native.ts:
--------------------------------------------------------------------------------
1 | export let useTanStackQueryDevTools: typeof import('./src/react-native/useTanStackQueryDevTools').useTanStackQueryDevTools;
2 |
3 | const isWeb =
4 | typeof window !== 'undefined' && window.navigator.product !== 'ReactNative';
5 | const isDev = process.env.NODE_ENV !== 'production';
6 | const isServer = typeof window === 'undefined';
7 |
8 | if (isDev && !isWeb && !isServer) {
9 | useTanStackQueryDevTools =
10 | require('./src/react-native/useTanStackQueryDevTools').useTanStackQueryDevTools;
11 | } else {
12 | useTanStackQueryDevTools = () => ({ isConnected: false });
13 | }
14 |
--------------------------------------------------------------------------------
/packages/cli/vite.config.ts:
--------------------------------------------------------------------------------
1 | /// {message}
20 |13 | Initializing network monitoring... 14 |
15 |
20 | {data}
21 |
22 | );
23 | }
24 | );
25 |
26 | CodeEditor.displayName = 'CodeEditor';
27 |
--------------------------------------------------------------------------------
/packages/require-profiler-plugin/vite.config.ts:
--------------------------------------------------------------------------------
1 | ///