vxrn 1.2.22 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/config/getViteServerConfig.js +1 -1
  2. package/dist/config/getViteServerConfig.js.map +1 -1
  3. package/dist/config/getViteServerConfig.mjs +1 -1
  4. package/dist/config/getViteServerConfig.mjs.map +1 -1
  5. package/dist/config/getViteServerConfig.native.js +1 -1
  6. package/dist/config/getViteServerConfig.native.js.map +1 -1
  7. package/dist/exports/createServer.js +4 -1
  8. package/dist/exports/createServer.js.map +1 -1
  9. package/dist/exports/createServer.mjs +26 -21
  10. package/dist/exports/createServer.mjs.map +1 -1
  11. package/dist/exports/createServer.native.js +29 -23
  12. package/dist/exports/createServer.native.js.map +1 -1
  13. package/dist/exports/dev.js +16 -7
  14. package/dist/exports/dev.js.map +1 -1
  15. package/dist/exports/dev.mjs +12 -6
  16. package/dist/exports/dev.mjs.map +1 -1
  17. package/dist/exports/dev.native.js +13 -6
  18. package/dist/exports/dev.native.js.map +1 -1
  19. package/dist/exports/serve.js +4 -3
  20. package/dist/exports/serve.js.map +2 -2
  21. package/dist/exports/serve.mjs +6 -4
  22. package/dist/exports/serve.mjs.map +1 -1
  23. package/dist/exports/serve.native.js +6 -4
  24. package/dist/exports/serve.native.js.map +1 -1
  25. package/dist/patches/builtInDepPatches.js +0 -13
  26. package/dist/patches/builtInDepPatches.js.map +1 -1
  27. package/dist/patches/builtInDepPatches.mjs +0 -11
  28. package/dist/patches/builtInDepPatches.mjs.map +1 -1
  29. package/dist/patches/builtInDepPatches.native.js +0 -13
  30. package/dist/patches/builtInDepPatches.native.js.map +1 -1
  31. package/dist/plugins/reactNativeDevServer.js +5 -2
  32. package/dist/plugins/reactNativeDevServer.js.map +1 -1
  33. package/dist/plugins/reactNativeDevServer.mjs +5 -2
  34. package/dist/plugins/reactNativeDevServer.mjs.map +1 -1
  35. package/dist/plugins/reactNativeDevServer.native.js +5 -2
  36. package/dist/plugins/reactNativeDevServer.native.js.map +1 -1
  37. package/dist/utils/getReactNativeBundle.js +4 -1
  38. package/dist/utils/getReactNativeBundle.js.map +1 -1
  39. package/dist/utils/getReactNativeBundle.mjs +1 -1
  40. package/dist/utils/getReactNativeBundle.mjs.map +1 -1
  41. package/dist/utils/getReactNativeBundle.native.js +1 -1
  42. package/dist/utils/getReactNativeBundle.native.js.map +1 -1
  43. package/dist/utils/patches.js +7 -2
  44. package/dist/utils/patches.js.map +1 -1
  45. package/dist/utils/patches.mjs +6 -1
  46. package/dist/utils/patches.mjs.map +1 -1
  47. package/dist/utils/patches.native.js +6 -1
  48. package/dist/utils/patches.native.js.map +1 -1
  49. package/package.json +16 -15
  50. package/src/config/getViteServerConfig.ts +0 -1
  51. package/src/exports/createServer.ts +12 -1
  52. package/src/exports/dev.ts +24 -4
  53. package/src/exports/serve.ts +7 -4
  54. package/src/patches/builtInDepPatches.ts +0 -18
  55. package/src/plugins/reactNativeDevServer.ts +9 -3
  56. package/src/utils/getReactNativeBundle.ts +9 -0
  57. package/src/utils/patches.ts +13 -2
  58. package/types/config/getViteServerConfig.d.ts.map +1 -1
  59. package/types/exports/createServer.d.ts +4 -1
  60. package/types/exports/createServer.d.ts.map +1 -1
  61. package/types/exports/dev.d.ts.map +1 -1
  62. package/types/exports/serve.d.ts +1 -1
  63. package/types/exports/serve.d.ts.map +1 -1
  64. package/types/patches/builtInDepPatches.d.ts.map +1 -1
  65. package/types/plugins/reactNativeDevServer.d.ts.map +1 -1
  66. package/types/utils/patches.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxrn",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -62,20 +62,20 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@expo/config-plugins": "^8.0.8",
65
- "@hono/node-server": "^1.13.7",
65
+ "@hono/node-server": "^1.19.6",
66
66
  "@react-native/dev-middleware": "^0.82.1",
67
67
  "@rollup/plugin-node-resolve": "^15.3.1",
68
- "@vxrn/compiler": "1.2.22",
69
- "@vxrn/debug": "1.2.22",
70
- "@vxrn/query-string": "1.2.22",
71
- "@vxrn/react-native-prebuilt": "1.2.22",
72
- "@vxrn/resolve": "1.2.22",
73
- "@vxrn/safe-area": "1.2.22",
74
- "@vxrn/url-parse": "1.2.22",
75
- "@vxrn/utils": "1.2.22",
76
- "@vxrn/vendor": "1.2.22",
77
- "@vxrn/vite-flow": "1.2.22",
78
- "@vxrn/vite-plugin-metro": "1.2.22",
68
+ "@vxrn/compiler": "1.2.24",
69
+ "@vxrn/debug": "1.2.24",
70
+ "@vxrn/query-string": "1.2.24",
71
+ "@vxrn/react-native-prebuilt": "1.2.24",
72
+ "@vxrn/resolve": "1.2.24",
73
+ "@vxrn/safe-area": "1.2.24",
74
+ "@vxrn/url-parse": "1.2.24",
75
+ "@vxrn/utils": "1.2.24",
76
+ "@vxrn/vendor": "1.2.24",
77
+ "@vxrn/vite-flow": "1.2.24",
78
+ "@vxrn/vite-plugin-metro": "1.2.24",
79
79
  "citty": "^0.1.6",
80
80
  "dotenv": "^17.2.1",
81
81
  "dotenv-expand": "^12.0.2",
@@ -85,9 +85,10 @@
85
85
  "find-node-modules": "^2.1.3",
86
86
  "fs-extra": "^11.2.0",
87
87
  "get-port-please": "^3.1.2",
88
- "hono": "^4.9.2",
88
+ "hono": "^4.10.7",
89
89
  "ip": "^2.0.1",
90
90
  "lightningcss": "^1.30.1",
91
+ "perfect-debounce": "^1.0.0",
91
92
  "picocolors": "^1.0.0",
92
93
  "pkg-types": "^1.0.3",
93
94
  "qrcode-terminal": "^0.12.0",
@@ -100,7 +101,7 @@
100
101
  "devDependencies": {
101
102
  "@biomejs/biome": "2.3.3",
102
103
  "@react-native-community/cli": "^20.0.2",
103
- "@tamagui/build": "^1.138.6",
104
+ "@tamagui/build": "^1.139.2",
104
105
  "@types/find-node-modules": "^2.1.2",
105
106
  "@types/node": "^24.10.0",
106
107
  "@types/qrcode-terminal": "^0",
@@ -35,7 +35,6 @@ export async function getViteServerConfig(config: VXRNOptionsFilled, userViteCon
35
35
 
36
36
  const rerouteNoExternalConfig = userViteConfig?.ssr?.noExternal === true
37
37
  if (rerouteNoExternalConfig) {
38
- console.warn(`[rerouteNoExternalConfig] delete userViteConfig.ssr.noExternal`)
39
38
  delete userViteConfig.ssr!.noExternal
40
39
  }
41
40
 
@@ -5,10 +5,21 @@ import type { VXRNServeOptions } from '../types'
5
5
  import type { Hono } from 'hono'
6
6
  import { serveStaticAssets } from './serveStaticAssets'
7
7
 
8
- export const createProdServer = async (app: Hono, options: VXRNServeOptions) => {
8
+ export const applyCompression = (app: Hono, options: VXRNServeOptions) => {
9
9
  if (options.compress !== false) {
10
10
  app.use(compress())
11
11
  }
12
+ }
13
+
14
+ export const createProdServer = async (
15
+ app: Hono,
16
+ options: VXRNServeOptions,
17
+ { skipCompression }: { skipCompression?: boolean } = {}
18
+ ) => {
19
+ // when called via serve(), compression is already applied before beforeRegisterRoutes
20
+ if (!skipCompression) {
21
+ applyCompression(app, options)
22
+ }
12
23
 
13
24
  app.use('*', async (context, next) => {
14
25
  return await serveStaticAssets({ context, next })
@@ -1,5 +1,6 @@
1
1
  import FSExtra from 'fs-extra'
2
2
  import colors from 'picocolors'
3
+ import { debounce } from 'perfect-debounce'
3
4
  import type { ViteDevServer } from 'vite'
4
5
  import type { VXRNOptions } from '../types'
5
6
 
@@ -86,16 +87,35 @@ export default defineConfig({
86
87
  viteServer = await createServer(serverConfig)
87
88
 
88
89
  // This fakes vite into thinking its loading files for HMR
90
+ // Debounced per-file to avoid CPU spikes during builds
91
+ const pendingTransforms = new Map<string, ReturnType<typeof debounce>>()
92
+
89
93
  viteServer.watcher.addListener('change', async (path) => {
94
+ // Skip dist files to avoid loops during builds
95
+ if (path.includes('/dist/') || path.includes('\\dist\\')) {
96
+ return
97
+ }
98
+
90
99
  const id = path.replace(process.cwd(), '')
91
100
  if (!id.endsWith('tsx') && !id.endsWith('jsx')) {
92
101
  return
93
102
  }
94
- try {
95
- void viteServer!.transformRequest(id)
96
- } catch (err) {
97
- console.info('err', err)
103
+
104
+ // Get or create a debounced transform for this file
105
+ if (!pendingTransforms.has(id)) {
106
+ pendingTransforms.set(
107
+ id,
108
+ debounce(async () => {
109
+ try {
110
+ await viteServer!.transformRequest(id)
111
+ } catch (err) {
112
+ console.info('err', err)
113
+ }
114
+ }, 100)
115
+ )
98
116
  }
117
+
118
+ pendingTransforms.get(id)!()
99
119
  })
100
120
 
101
121
  await viteServer.listen()
@@ -1,11 +1,11 @@
1
1
  import { Hono } from 'hono'
2
2
  export { serveStatic } from '@hono/node-server/serve-static'
3
3
  import type { VXRNServeOptions } from '../types'
4
- import { createProdServer } from './createServer'
4
+ import { applyCompression, createProdServer } from './createServer'
5
5
 
6
6
  export { loadEnv } from '../exports/loadEnv'
7
7
  export * from '../utils/getServerEntry'
8
- export { createProdServer } from './createServer'
8
+ export { createProdServer, applyCompression } from './createServer'
9
9
 
10
10
  export const serve = async ({
11
11
  afterRegisterRoutes,
@@ -16,12 +16,15 @@ export const serve = async ({
16
16
  const { getServerOptionsFilled } = await import('../config/getServerOptionsFilled')
17
17
  const options = await getServerOptionsFilled(optionsIn, 'prod')
18
18
 
19
+ // apply compression before any routes so it applies to all handlers
20
+ applyCompression(app, options)
21
+
19
22
  if (beforeRegisterRoutes) {
20
23
  await beforeRegisterRoutes(options, app)
21
24
  }
22
25
 
23
- // see this for more hono setup
24
- await createProdServer(app, options)
26
+ // createProdServer will skip compression since we already applied it
27
+ await createProdServer(app, options, { skipCompression: true })
25
28
 
26
29
  if (afterRegisterRoutes) {
27
30
  await afterRegisterRoutes(options, app)
@@ -332,24 +332,6 @@ install('URLSearchParams', () => URLSearchParams);
332
332
  },
333
333
  },
334
334
 
335
- {
336
- module: 'react-native-css-interop',
337
- patchFiles: {
338
- 'dist/**/*.js': ['jsx'],
339
- },
340
- },
341
-
342
- {
343
- module: 'expo-video',
344
- patchFiles: {
345
- 'build/index.js': (contents) => {
346
- // bad type export that can't be auto-fixed
347
- return contents?.replace(`export { VideoThumbnail } from './VideoThumbnail';`, ``)
348
- },
349
- 'build/**/*.js': ['jsx'],
350
- },
351
- },
352
-
353
335
  {
354
336
  module: 'expo-clipboard',
355
337
  patchFiles: {
@@ -13,6 +13,7 @@ import { readFile, writeFile } from 'node:fs/promises'
13
13
  import { createDevMiddleware } from '@react-native/dev-middleware'
14
14
  import { runOnWorker } from '../worker'
15
15
  import { getCacheDir } from '../utils/getCacheDir'
16
+ import { debounce } from 'perfect-debounce'
16
17
 
17
18
  type ClientMessage = {
18
19
  type: 'client-log'
@@ -233,9 +234,14 @@ export function createReactNativeDevServerPlugin(
233
234
  res.end('TODO')
234
235
  })
235
236
 
236
- // Clear bundle cache on file changes
237
- server.watcher.on('change', () => {
238
- clearCachedBundle()
237
+ // Clear bundle cache on file changes (debounced to avoid CPU spikes during builds)
238
+ const debouncedClearCache = debounce(clearCachedBundle, 100)
239
+ server.watcher.on('change', (path: string) => {
240
+ // Skip clearing cache for dist files to avoid loops during builds
241
+ if (path.includes('/dist/') || path.includes('\\dist\\')) {
242
+ return
243
+ }
244
+ debouncedClearCache()
239
245
  })
240
246
  },
241
247
  }
@@ -220,6 +220,15 @@ async function getReactNativeTemplate(mode: 'dev' | 'prod') {
220
220
  if (mode === 'prod') {
221
221
  // `process` might not available in release runtime
222
222
  template = template.replace(/process\.env\.DEBUG/g, 'undefined')
223
+
224
+ // In production mode, the prebuilt modules have `.production` in their filenames
225
+ template = template.replaceAll('.vxrn/react-jsx-runtime.js', '.vxrn/react-jsx-runtime.production.js')
226
+ template = template.replaceAll('.vxrn/react.js', '.vxrn/react.production.js')
227
+ // react-native already has platform in filename, need to add .production before platform
228
+ template = template.replace(
229
+ /\.vxrn\/react-native\.(\$\{__VXRN_PLATFORM__\.toLowerCase\(\)\})\.js/g,
230
+ '.vxrn/react-native.production.$1.js'
231
+ )
223
232
  }
224
233
 
225
234
  return template
@@ -3,6 +3,7 @@ import { transformFlowBabel } from '@vxrn/vite-flow'
3
3
  import findNodeModules from 'find-node-modules'
4
4
  import FSExtra from 'fs-extra'
5
5
  import { join } from 'node:path'
6
+ import { rename } from 'node:fs/promises'
6
7
  import semver from 'semver'
7
8
  import type { UserConfig } from 'vite'
8
9
  import type { VXRNOptionsFilled } from '../config/getOptionsFilled'
@@ -195,8 +196,8 @@ export async function applyDependencyPatches(
195
196
  !getIsAlreadyPatched(
196
197
  fullPath
197
198
  ) /* an ogfile must already be there, no need to write */ &&
198
- FSExtra.writeFile(getOgFilePath(fullPath), possibleOrigContents),
199
- FSExtra.writeFile(fullPath, contents),
199
+ atomicWriteFile(getOgFilePath(fullPath), possibleOrigContents),
200
+ atomicWriteFile(fullPath, contents),
200
201
  ].filter((p) => !!p)
201
202
  )
202
203
 
@@ -281,3 +282,13 @@ export async function applyDependencyPatches(
281
282
  function getOgFilePath(fullPath: string) {
282
283
  return fullPath + '.vxrn.ogfile'
283
284
  }
285
+
286
+ /**
287
+ * Atomically write a file by writing to a temp file first then renaming.
288
+ * This prevents other processes from reading a partially written file.
289
+ */
290
+ async function atomicWriteFile(filePath: string, contents: string) {
291
+ const tempPath = filePath + '.vxrn.tmp.' + process.pid + '.' + Date.now()
292
+ await FSExtra.writeFile(tempPath, contents)
293
+ await rename(tempPath, filePath)
294
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"getViteServerConfig.d.ts","sourceRoot":"","sources":["../../src/config/getViteServerConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAItE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAM3D;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB,EAAE,cAAc,CAAC,EAAE,UAAU,uBAiD/F"}
1
+ {"version":3,"file":"getViteServerConfig.d.ts","sourceRoot":"","sources":["../../src/config/getViteServerConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAItE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAM3D;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB,EAAE,cAAc,CAAC,EAAE,UAAU,uBAgD/F"}
@@ -1,4 +1,7 @@
1
1
  import type { VXRNServeOptions } from '../types';
2
2
  import type { Hono } from 'hono';
3
- export declare const createProdServer: (app: Hono, options: VXRNServeOptions) => Promise<Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">>;
3
+ export declare const applyCompression: (app: Hono, options: VXRNServeOptions) => void;
4
+ export declare const createProdServer: (app: Hono, options: VXRNServeOptions, { skipCompression }?: {
5
+ skipCompression?: boolean;
6
+ }) => Promise<Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">>;
4
7
  //# sourceMappingURL=createServer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../../src/exports/createServer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAGhC,eAAO,MAAM,gBAAgB,GAAU,KAAK,IAAI,EAAE,SAAS,gBAAgB,wFAmC1E,CAAA"}
1
+ {"version":3,"file":"createServer.d.ts","sourceRoot":"","sources":["../../src/exports/createServer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAGhC,eAAO,MAAM,gBAAgB,GAAI,KAAK,IAAI,EAAE,SAAS,gBAAgB,SAIpE,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,KAAK,IAAI,EACT,SAAS,gBAAgB,EACzB,sBAAqB;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAO,wFAqCxD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/exports/dev.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,GAAG,GAAU,WAAW,UAAU;;;;;;EAsH9C,CAAA"}
1
+ {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/exports/dev.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAI3C,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,GAAG,GAAU,WAAW,UAAU;;;;;;EAyI9C,CAAA"}
@@ -2,6 +2,6 @@ export { serveStatic } from '@hono/node-server/serve-static';
2
2
  import type { VXRNServeOptions } from '../types';
3
3
  export { loadEnv } from '../exports/loadEnv';
4
4
  export * from '../utils/getServerEntry';
5
- export { createProdServer } from './createServer';
5
+ export { createProdServer, applyCompression } from './createServer';
6
6
  export declare const serve: ({ afterRegisterRoutes, beforeRegisterRoutes, app, ...optionsIn }: VXRNServeOptions) => Promise<void>;
7
7
  //# sourceMappingURL=serve.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/exports/serve.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEjD,eAAO,MAAM,KAAK,GAAU,kEAKzB,gBAAgB,kBAoBlB,CAAA"}
1
+ {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/exports/serve.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEnE,eAAO,MAAM,KAAK,GAAU,kEAKzB,gBAAgB,kBAuBlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"builtInDepPatches.d.ts","sourceRoot":"","sources":["../../src/patches/builtInDepPatches.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,kBAAkB,CAAA;AAEjE,eAAO,MAAM,iBAAiB,EAAE,QAAQ,EAybvC,CAAA"}
1
+ {"version":3,"file":"builtInDepPatches.d.ts","sourceRoot":"","sources":["../../src/patches/builtInDepPatches.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,kBAAkB,CAAA;AAEjE,eAAO,MAAM,iBAAiB,EAAE,QAAQ,EAuavC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"reactNativeDevServer.d.ts","sourceRoot":"","sources":["../../src/plugins/reactNativeDevServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,MAAM,EAAiB,MAAM,MAAM,CAAA;AAM1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAgBnE,wBAAgB,gCAAgC,CAC9C,OAAO,CAAC,EAAE,OAAO,CACf,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,aAAa,GAAG,kBAAkB,GAAG,SAAS,CAAC,CACrF,GACA,MAAM,CAuNR"}
1
+ {"version":3,"file":"reactNativeDevServer.d.ts","sourceRoot":"","sources":["../../src/plugins/reactNativeDevServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,MAAM,EAAiB,MAAM,MAAM,CAAA;AAM1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAiBnE,wBAAgB,gCAAgC,CAC9C,OAAO,CAAC,EAAE,OAAO,CACf,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,aAAa,GAAG,kBAAkB,GAAG,SAAS,CAAC,CACrF,GACA,MAAM,CA4NR"}
@@ -1 +1 @@
1
- {"version":3,"file":"patches.d.ts","sourceRoot":"","sources":["../../src/utils/patches.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAKnE,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAA;AAExC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AAEzD,MAAM,MAAM,eAAe,GACvB,CAAC,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC,GAC/D,MAAM,GACN,UAAU,EAAE,CAAA;AAEhB,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE;QAAE,QAAQ,CAAC,EAAE,WAAW,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAA;KAAE,CAAA;CAC9F,CAAA;AAID,wBAAgB,eAAe,CAAC,IAAI,EAAE,GA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