vxrn 0.1.50 → 0.1.52
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.
- package/dist/cjs/exports/bindKeypressInput.js +58 -0
- package/dist/cjs/exports/bindKeypressInput.js.map +6 -0
- package/dist/cjs/exports/bindKeypressInput.native.js +63 -0
- package/dist/cjs/exports/bindKeypressInput.native.js.map +6 -0
- package/dist/cjs/exports/build.js +26 -93
- package/dist/cjs/exports/build.js.map +2 -2
- package/dist/cjs/exports/build.native.js +70 -360
- package/dist/cjs/exports/build.native.js.map +2 -2
- package/dist/cjs/exports/coerceToArray.js +23 -0
- package/dist/cjs/exports/coerceToArray.js.map +6 -0
- package/dist/cjs/exports/connectedNativeClients.js +21 -0
- package/dist/cjs/exports/connectedNativeClients.js.map +6 -0
- package/dist/cjs/exports/dev.js +10 -416
- package/dist/cjs/exports/dev.js.map +2 -2
- package/dist/cjs/exports/dev.native.js +16 -732
- package/dist/cjs/exports/dev.native.js.map +2 -2
- package/dist/cjs/exports/entryRoot.js +69 -0
- package/dist/cjs/exports/entryRoot.js.map +6 -0
- package/dist/cjs/exports/getIndexJsonResponse.js +71 -0
- package/dist/cjs/exports/getIndexJsonResponse.js.map +6 -0
- package/dist/cjs/exports/getIndexJsonResponse.native.js +99 -0
- package/dist/cjs/exports/getIndexJsonResponse.native.js.map +6 -0
- package/dist/cjs/exports/getReactNativeBundle.js +160 -0
- package/dist/cjs/exports/getReactNativeBundle.js.map +6 -0
- package/dist/cjs/exports/getViteServerConfig.js +77 -0
- package/dist/cjs/exports/getViteServerConfig.js.map +6 -0
- package/dist/cjs/exports/getViteServerConfig.native.js +253 -0
- package/dist/cjs/exports/getViteServerConfig.native.js.map +6 -0
- package/dist/cjs/exports/hotUpdateCache.js +21 -0
- package/dist/cjs/exports/hotUpdateCache.js.map +6 -0
- package/dist/cjs/exports/isBuildingNativeBundle.js +21 -0
- package/dist/cjs/exports/isBuildingNativeBundle.js.map +6 -0
- package/dist/cjs/exports/isWithin.js +25 -0
- package/dist/cjs/exports/isWithin.js.map +6 -0
- package/dist/cjs/exports/reactNativeHMRPlugin.js +69 -0
- package/dist/cjs/exports/reactNativeHMRPlugin.js.map +6 -0
- package/dist/cjs/exports/resolveFile.js +28 -0
- package/dist/cjs/exports/resolveFile.js.map +6 -0
- package/dist/cjs/exports/resolveFile.native.js +34 -0
- package/dist/cjs/exports/resolveFile.native.js.map +6 -0
- package/dist/cjs/exports/serve.js +1 -1
- package/dist/cjs/exports/serve.js.map +1 -1
- package/dist/cjs/exports/serve.native.js +1 -1
- package/dist/cjs/exports/serve.native.js.map +1 -1
- package/dist/cjs/exports/swapPrebuiltReactModules.js +100 -0
- package/dist/cjs/exports/swapPrebuiltReactModules.js.map +6 -0
- package/dist/cjs/exports/uniq.js +23 -0
- package/dist/cjs/exports/uniq.js.map +6 -0
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +8 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/plugins/reactNativeCommonJsPlugin.js.map +1 -1
- package/dist/cjs/plugins/reactNativeCommonJsPlugin.native.js.map +1 -1
- package/dist/cjs/plugins/reactNativeHMRPlugin.js +67 -0
- package/dist/cjs/plugins/reactNativeHMRPlugin.js.map +6 -0
- package/dist/cjs/plugins/reactNativeHMRPlugin.native.js +307 -0
- package/dist/cjs/plugins/reactNativeHMRPlugin.native.js.map +6 -0
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/utils/bindKeypressInput.js +58 -0
- package/dist/cjs/utils/bindKeypressInput.js.map +6 -0
- package/dist/cjs/utils/bindKeypressInput.native.js +63 -0
- package/dist/cjs/utils/bindKeypressInput.native.js.map +6 -0
- package/dist/cjs/utils/coerceToArray.js +23 -0
- package/dist/cjs/utils/coerceToArray.js.map +6 -0
- package/dist/cjs/utils/coerceToArray.native.js +30 -0
- package/dist/cjs/utils/coerceToArray.native.js.map +6 -0
- package/dist/cjs/utils/connectedNativeClients.js +29 -0
- package/dist/cjs/utils/connectedNativeClients.js.map +6 -0
- package/dist/cjs/utils/connectedNativeClients.native.js +36 -0
- package/dist/cjs/utils/connectedNativeClients.native.js.map +6 -0
- package/dist/cjs/utils/getIndexJsonResponse.js +71 -0
- package/dist/cjs/utils/getIndexJsonResponse.js.map +6 -0
- package/dist/cjs/utils/getIndexJsonResponse.native.js +99 -0
- package/dist/cjs/utils/getIndexJsonResponse.native.js.map +6 -0
- package/dist/cjs/utils/getOptimizeDeps.js +8 -7
- package/dist/cjs/utils/getOptimizeDeps.js.map +1 -1
- package/dist/cjs/utils/getOptimizeDeps.native.js +8 -7
- package/dist/cjs/utils/getOptimizeDeps.native.js.map +1 -1
- package/dist/cjs/utils/getOptionsFilled.js.map +1 -1
- package/dist/cjs/utils/getOptionsFilled.native.js.map +1 -1
- package/dist/cjs/utils/getReactNativeBundle.js +165 -0
- package/dist/cjs/utils/getReactNativeBundle.js.map +6 -0
- package/dist/cjs/utils/getReactNativeBundle.native.js +389 -0
- package/dist/cjs/utils/getReactNativeBundle.native.js.map +6 -0
- package/dist/cjs/utils/getVitePath.js +2 -2
- package/dist/cjs/utils/getVitePath.js.map +2 -2
- package/dist/cjs/utils/getVitePath.native.js +8 -8
- package/dist/cjs/utils/getVitePath.native.js.map +2 -2
- package/dist/cjs/utils/getViteServerConfig.js +80 -0
- package/dist/cjs/utils/getViteServerConfig.js.map +6 -0
- package/dist/cjs/utils/getViteServerConfig.native.js +256 -0
- package/dist/cjs/utils/getViteServerConfig.native.js.map +6 -0
- package/dist/cjs/utils/hotUpdateCache.js +21 -0
- package/dist/cjs/utils/hotUpdateCache.js.map +6 -0
- package/dist/cjs/utils/hotUpdateCache.native.js +26 -0
- package/dist/cjs/utils/hotUpdateCache.native.js.map +6 -0
- package/dist/cjs/utils/isBuildingNativeBundle.js +25 -0
- package/dist/cjs/utils/isBuildingNativeBundle.js.map +6 -0
- package/dist/cjs/utils/isBuildingNativeBundle.native.js +32 -0
- package/dist/cjs/utils/isBuildingNativeBundle.native.js.map +6 -0
- package/dist/cjs/utils/isWithin.js +25 -0
- package/dist/cjs/utils/isWithin.js.map +6 -0
- package/dist/cjs/utils/isWithin.native.js +30 -0
- package/dist/cjs/utils/isWithin.native.js.map +6 -0
- package/dist/cjs/utils/readVXRNConfig.js +15 -18
- package/dist/cjs/utils/readVXRNConfig.js.map +2 -2
- package/dist/cjs/utils/readVXRNConfig.native.js +104 -49
- package/dist/cjs/utils/readVXRNConfig.native.js.map +2 -2
- package/dist/cjs/utils/resolveFile.js +28 -0
- package/dist/cjs/utils/resolveFile.js.map +6 -0
- package/dist/cjs/utils/resolveFile.native.js +34 -0
- package/dist/cjs/utils/resolveFile.native.js.map +6 -0
- package/dist/cjs/utils/swapPrebuiltReactModules.js +108 -0
- package/dist/cjs/utils/swapPrebuiltReactModules.js.map +6 -0
- package/dist/cjs/utils/swapPrebuiltReactModules.native.js +272 -0
- package/dist/cjs/utils/swapPrebuiltReactModules.native.js.map +6 -0
- package/dist/cjs/utils/uniq.js +23 -0
- package/dist/cjs/utils/uniq.js.map +6 -0
- package/dist/cjs/utils/uniq.native.js +59 -0
- package/dist/cjs/utils/uniq.native.js.map +6 -0
- package/dist/esm/exports/bindKeypressInput.js +34 -0
- package/dist/esm/exports/bindKeypressInput.js.map +6 -0
- package/dist/esm/exports/bindKeypressInput.mjs +31 -0
- package/dist/esm/exports/bindKeypressInput.native.js +34 -0
- package/dist/esm/exports/bindKeypressInput.native.js.map +6 -0
- package/dist/esm/exports/build.js +27 -98
- package/dist/esm/exports/build.js.map +1 -1
- package/dist/esm/exports/build.mjs +38 -135
- package/dist/esm/exports/build.native.js +71 -366
- package/dist/esm/exports/build.native.js.map +2 -2
- package/dist/esm/exports/coerceToArray.js +7 -0
- package/dist/esm/exports/coerceToArray.js.map +6 -0
- package/dist/esm/exports/coerceToArray.mjs +4 -0
- package/dist/esm/exports/connectedNativeClients.js +5 -0
- package/dist/esm/exports/connectedNativeClients.js.map +6 -0
- package/dist/esm/exports/connectedNativeClients.mjs +2 -0
- package/dist/esm/exports/dev.js +17 -431
- package/dist/esm/exports/dev.js.map +2 -2
- package/dist/esm/exports/dev.mjs +15 -430
- package/dist/esm/exports/dev.native.js +19 -738
- package/dist/esm/exports/dev.native.js.map +2 -2
- package/dist/esm/exports/entryRoot.js +58 -0
- package/dist/esm/exports/entryRoot.js.map +6 -0
- package/dist/esm/exports/entryRoot.mjs +62 -0
- package/dist/esm/exports/getIndexJsonResponse.js +55 -0
- package/dist/esm/exports/getIndexJsonResponse.js.map +6 -0
- package/dist/esm/exports/getIndexJsonResponse.mjs +71 -0
- package/dist/esm/exports/getIndexJsonResponse.native.js +78 -0
- package/dist/esm/exports/getIndexJsonResponse.native.js.map +6 -0
- package/dist/esm/exports/getReactNativeBundle.js +146 -0
- package/dist/esm/exports/getReactNativeBundle.js.map +6 -0
- package/dist/esm/exports/getReactNativeBundle.mjs +136 -0
- package/dist/esm/exports/getViteServerConfig.js +64 -0
- package/dist/esm/exports/getViteServerConfig.js.map +6 -0
- package/dist/esm/exports/getViteServerConfig.mjs +44 -0
- package/dist/esm/exports/getViteServerConfig.native.js +235 -0
- package/dist/esm/exports/getViteServerConfig.native.js.map +6 -0
- package/dist/esm/exports/hotUpdateCache.js +5 -0
- package/dist/esm/exports/hotUpdateCache.js.map +6 -0
- package/dist/esm/exports/hotUpdateCache.mjs +2 -0
- package/dist/esm/exports/isBuildingNativeBundle.js +5 -0
- package/dist/esm/exports/isBuildingNativeBundle.js.map +6 -0
- package/dist/esm/exports/isBuildingNativeBundle.mjs +2 -0
- package/dist/esm/exports/isWithin.js +9 -0
- package/dist/esm/exports/isWithin.js.map +6 -0
- package/dist/esm/exports/isWithin.mjs +6 -0
- package/dist/esm/exports/reactNativeHMRPlugin.js +58 -0
- package/dist/esm/exports/reactNativeHMRPlugin.js.map +6 -0
- package/dist/esm/exports/reactNativeHMRPlugin.mjs +62 -0
- package/dist/esm/exports/resolveFile.js +12 -0
- package/dist/esm/exports/resolveFile.js.map +6 -0
- package/dist/esm/exports/resolveFile.mjs +9 -0
- package/dist/esm/exports/resolveFile.native.js +12 -0
- package/dist/esm/exports/resolveFile.native.js.map +6 -0
- package/dist/esm/exports/serve.js +1 -1
- package/dist/esm/exports/serve.js.map +1 -1
- package/dist/esm/exports/serve.mjs +1 -1
- package/dist/esm/exports/serve.native.js +1 -1
- package/dist/esm/exports/serve.native.js.map +1 -1
- package/dist/esm/exports/swapPrebuiltReactModules.js +87 -0
- package/dist/esm/exports/swapPrebuiltReactModules.js.map +6 -0
- package/dist/esm/exports/swapPrebuiltReactModules.mjs +73 -0
- package/dist/esm/exports/uniq.js +7 -0
- package/dist/esm/exports/uniq.js.map +6 -0
- package/dist/esm/exports/uniq.mjs +4 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/index.native.js +4 -0
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/plugins/reactNativeCommonJsPlugin.js.map +1 -1
- package/dist/esm/plugins/reactNativeCommonJsPlugin.native.js.map +1 -1
- package/dist/esm/plugins/reactNativeHMRPlugin.js +57 -0
- package/dist/esm/plugins/reactNativeHMRPlugin.js.map +6 -0
- package/dist/esm/plugins/reactNativeHMRPlugin.mjs +62 -0
- package/dist/esm/plugins/reactNativeHMRPlugin.native.js +292 -0
- package/dist/esm/plugins/reactNativeHMRPlugin.native.js.map +6 -0
- package/dist/esm/utils/bindKeypressInput.js +34 -0
- package/dist/esm/utils/bindKeypressInput.js.map +6 -0
- package/dist/esm/utils/bindKeypressInput.mjs +31 -0
- package/dist/esm/utils/bindKeypressInput.native.js +34 -0
- package/dist/esm/utils/bindKeypressInput.native.js.map +6 -0
- package/dist/esm/utils/coerceToArray.js +7 -0
- package/dist/esm/utils/coerceToArray.js.map +6 -0
- package/dist/esm/utils/coerceToArray.mjs +4 -0
- package/dist/esm/utils/coerceToArray.native.js +9 -0
- package/dist/esm/utils/coerceToArray.native.js.map +6 -0
- package/dist/esm/utils/connectedNativeClients.js +13 -0
- package/dist/esm/utils/connectedNativeClients.js.map +6 -0
- package/dist/esm/utils/connectedNativeClients.mjs +8 -0
- package/dist/esm/utils/connectedNativeClients.native.js +13 -0
- package/dist/esm/utils/connectedNativeClients.native.js.map +6 -0
- package/dist/esm/utils/getIndexJsonResponse.js +55 -0
- package/dist/esm/utils/getIndexJsonResponse.js.map +6 -0
- package/dist/esm/utils/getIndexJsonResponse.mjs +71 -0
- package/dist/esm/utils/getIndexJsonResponse.native.js +78 -0
- package/dist/esm/utils/getIndexJsonResponse.native.js.map +6 -0
- package/dist/esm/utils/getOptimizeDeps.js +8 -7
- package/dist/esm/utils/getOptimizeDeps.js.map +1 -1
- package/dist/esm/utils/getOptimizeDeps.mjs +2 -2
- package/dist/esm/utils/getOptimizeDeps.native.js +8 -7
- package/dist/esm/utils/getOptimizeDeps.native.js.map +1 -1
- package/dist/esm/utils/getOptionsFilled.js.map +1 -1
- package/dist/esm/utils/getOptionsFilled.native.js.map +1 -1
- package/dist/esm/utils/getReactNativeBundle.js +153 -0
- package/dist/esm/utils/getReactNativeBundle.js.map +6 -0
- package/dist/esm/utils/getReactNativeBundle.mjs +142 -0
- package/dist/esm/utils/getReactNativeBundle.native.js +371 -0
- package/dist/esm/utils/getReactNativeBundle.native.js.map +6 -0
- package/dist/esm/utils/getVitePath.js +2 -2
- package/dist/esm/utils/getVitePath.js.map +1 -1
- package/dist/esm/utils/getVitePath.mjs +2 -2
- package/dist/esm/utils/getVitePath.native.js +8 -8
- package/dist/esm/utils/getVitePath.native.js.map +2 -2
- package/dist/esm/utils/getViteServerConfig.js +69 -0
- package/dist/esm/utils/getViteServerConfig.js.map +6 -0
- package/dist/esm/utils/getViteServerConfig.mjs +49 -0
- package/dist/esm/utils/getViteServerConfig.native.js +240 -0
- package/dist/esm/utils/getViteServerConfig.native.js.map +6 -0
- package/dist/esm/utils/hotUpdateCache.js +5 -0
- package/dist/esm/utils/hotUpdateCache.js.map +6 -0
- package/dist/esm/utils/hotUpdateCache.mjs +2 -0
- package/dist/esm/utils/hotUpdateCache.native.js +5 -0
- package/dist/esm/utils/hotUpdateCache.native.js.map +6 -0
- package/dist/esm/utils/isBuildingNativeBundle.js +9 -0
- package/dist/esm/utils/isBuildingNativeBundle.js.map +6 -0
- package/dist/esm/utils/isBuildingNativeBundle.mjs +5 -0
- package/dist/esm/utils/isBuildingNativeBundle.native.js +10 -0
- package/dist/esm/utils/isBuildingNativeBundle.native.js.map +6 -0
- package/dist/esm/utils/isWithin.js +9 -0
- package/dist/esm/utils/isWithin.js.map +6 -0
- package/dist/esm/utils/isWithin.mjs +6 -0
- package/dist/esm/utils/isWithin.native.js +9 -0
- package/dist/esm/utils/isWithin.native.js.map +6 -0
- package/dist/esm/utils/readVXRNConfig.js +16 -19
- package/dist/esm/utils/readVXRNConfig.js.map +1 -1
- package/dist/esm/utils/readVXRNConfig.mjs +17 -21
- package/dist/esm/utils/readVXRNConfig.native.js +105 -50
- package/dist/esm/utils/readVXRNConfig.native.js.map +2 -2
- package/dist/esm/utils/resolveFile.js +12 -0
- package/dist/esm/utils/resolveFile.js.map +6 -0
- package/dist/esm/utils/resolveFile.mjs +9 -0
- package/dist/esm/utils/resolveFile.native.js +12 -0
- package/dist/esm/utils/resolveFile.native.js.map +6 -0
- package/dist/esm/utils/swapPrebuiltReactModules.js +89 -0
- package/dist/esm/utils/swapPrebuiltReactModules.js.map +6 -0
- package/dist/esm/utils/swapPrebuiltReactModules.mjs +75 -0
- package/dist/esm/utils/swapPrebuiltReactModules.native.js +248 -0
- package/dist/esm/utils/swapPrebuiltReactModules.native.js.map +6 -0
- package/dist/esm/utils/uniq.js +7 -0
- package/dist/esm/utils/uniq.js.map +6 -0
- package/dist/esm/utils/uniq.mjs +4 -0
- package/dist/esm/utils/uniq.native.js +38 -0
- package/dist/esm/utils/uniq.native.js.map +6 -0
- package/package.json +8 -8
- package/src/exports/build.ts +46 -183
- package/src/exports/dev.ts +18 -646
- package/src/exports/serve.ts +4 -0
- package/src/index.ts +5 -0
- package/src/plugins/reactNativeCommonJsPlugin.ts +0 -2
- package/src/plugins/reactNativeHMRPlugin.ts +105 -0
- package/src/types.ts +9 -0
- package/src/utils/bindKeypressInput.ts +46 -0
- package/src/utils/coerceToArray.ts +3 -0
- package/src/utils/connectedNativeClients.ts +9 -0
- package/src/utils/getIndexJsonResponse.ts +52 -0
- package/src/utils/getOptimizeDeps.ts +9 -8
- package/src/utils/getOptionsFilled.ts +0 -1
- package/src/utils/getReactNativeBundle.ts +228 -0
- package/src/utils/getVitePath.ts +3 -3
- package/src/utils/getViteServerConfig.ts +104 -0
- package/src/utils/hotUpdateCache.ts +1 -0
- package/src/utils/isBuildingNativeBundle.ts +7 -0
- package/src/utils/isWithin.ts +6 -0
- package/src/utils/readVXRNConfig.ts +81 -25
- package/src/utils/resolveFile.ts +9 -0
- package/src/utils/swapPrebuiltReactModules.ts +126 -0
- package/src/utils/uniq.ts +3 -0
- package/types/exports/bindKeypressInput.d.ts +2 -0
- package/types/exports/coerceToArray.d.ts +2 -0
- package/types/exports/connectedNativeClients.d.ts +2 -0
- package/types/exports/dev.d.ts +0 -2
- package/types/exports/entryRoot.d.ts +11 -0
- package/types/exports/getIndexJsonResponse.d.ts +68 -0
- package/types/exports/getReactNativeBundle.d.ts +3 -0
- package/types/exports/getViteServerConfig.d.ts +4 -0
- package/types/exports/hotUpdateCache.d.ts +2 -0
- package/types/exports/isBuildingNativeBundle.d.ts +2 -0
- package/types/exports/isWithin.d.ts +2 -0
- package/types/exports/reactNativeHMRPlugin.d.ts +11 -0
- package/types/exports/resolveFile.d.ts +2 -0
- package/types/exports/swapPrebuiltReactModules.d.ts +7 -0
- package/types/exports/uniq.d.ts +2 -0
- package/types/index.d.ts +4 -0
- package/types/plugins/reactNativeHMRPlugin.d.ts +10 -0
- package/types/types.d.ts +4 -0
- package/types/utils/bindKeypressInput.d.ts +2 -0
- package/types/utils/coerceToArray.d.ts +2 -0
- package/types/utils/connectedNativeClients.d.ts +4 -0
- package/types/utils/getIndexJsonResponse.d.ts +68 -0
- package/types/utils/getOptionsFilled.d.ts +2 -0
- package/types/utils/getReactNativeBundle.d.ts +4 -0
- package/types/utils/getViteServerConfig.d.ts +4 -0
- package/types/utils/hotUpdateCache.d.ts +2 -0
- package/types/utils/isBuildingNativeBundle.d.ts +3 -0
- package/types/utils/isWithin.d.ts +2 -0
- package/types/utils/resolveFile.d.ts +2 -0
- package/types/utils/swapPrebuiltReactModules.d.ts +7 -0
- package/types/utils/uniq.d.ts +2 -0
|
@@ -27,7 +27,7 @@ __export(build_exports, {
|
|
|
27
27
|
resolveFile: () => resolveFile
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(build_exports);
|
|
30
|
-
var
|
|
30
|
+
var import_fs_extra = __toESM(require("fs-extra"), 1), import_import_meta_resolve = require("import-meta-resolve"), import_promises = require("node:fs/promises"), import_vite = require("vite"), import_getBaseViteConfig = require("../utils/getBaseViteConfig"), import_getOptimizeDeps = require("../utils/getOptimizeDeps"), import_getOptionsFilled = require("../utils/getOptionsFilled");
|
|
31
31
|
const import_meta = {};
|
|
32
32
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
33
33
|
try {
|
|
@@ -144,21 +144,7 @@ function _ts_generator(thisArg, body) {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
var s = typeof Symbol == "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
149
|
-
if (m)
|
|
150
|
-
return m.call(o);
|
|
151
|
-
if (o && typeof o.length == "number")
|
|
152
|
-
return {
|
|
153
|
-
next: function() {
|
|
154
|
-
return o && i >= o.length && (o = void 0), {
|
|
155
|
-
value: o && o[i++],
|
|
156
|
-
done: !o
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
161
|
-
}
|
|
147
|
+
var existsSync = import_fs_extra.default.existsSync;
|
|
162
148
|
Error.stackTraceLimit = 1 / 0;
|
|
163
149
|
var resolveFile = function(path) {
|
|
164
150
|
try {
|
|
@@ -166,9 +152,9 @@ var resolveFile = function(path) {
|
|
|
166
152
|
} catch {
|
|
167
153
|
return require.resolve(path);
|
|
168
154
|
}
|
|
169
|
-
},
|
|
155
|
+
}, build = function() {
|
|
170
156
|
var _ref = _async_to_generator(function(optionsIn) {
|
|
171
|
-
var buildOptions, options, optimizeDeps, webBuildConfig, output, _arguments = arguments;
|
|
157
|
+
var buildOptions, options, optimizeDeps, webBuildConfig, clientBuildConfig, output, _arguments = arguments;
|
|
172
158
|
return _ts_generator(this, function(_state) {
|
|
173
159
|
switch (_state.label) {
|
|
174
160
|
case 0:
|
|
@@ -177,7 +163,37 @@ var resolveFile = function(path) {
|
|
|
177
163
|
(0, import_getOptionsFilled.getOptionsFilled)(optionsIn)
|
|
178
164
|
];
|
|
179
165
|
case 1:
|
|
180
|
-
return options = _state.sent(),
|
|
166
|
+
return options = _state.sent(), // lets always clean dist folder for now to be sure were correct
|
|
167
|
+
existsSync("dist") ? [
|
|
168
|
+
4,
|
|
169
|
+
(0, import_promises.rm)("dist", {
|
|
170
|
+
recursive: !0,
|
|
171
|
+
force: !0
|
|
172
|
+
})
|
|
173
|
+
] : [
|
|
174
|
+
3,
|
|
175
|
+
3
|
|
176
|
+
];
|
|
177
|
+
case 2:
|
|
178
|
+
_state.sent(), _state.label = 3;
|
|
179
|
+
case 3:
|
|
180
|
+
return (
|
|
181
|
+
// lets always clean dist folder for now to be sure were correct
|
|
182
|
+
existsSync("node_modules/.vite") ? [
|
|
183
|
+
4,
|
|
184
|
+
(0, import_promises.rm)("node_modules/.vite", {
|
|
185
|
+
recursive: !0,
|
|
186
|
+
force: !0
|
|
187
|
+
})
|
|
188
|
+
] : [
|
|
189
|
+
3,
|
|
190
|
+
5
|
|
191
|
+
]
|
|
192
|
+
);
|
|
193
|
+
case 4:
|
|
194
|
+
_state.sent(), _state.label = 5;
|
|
195
|
+
case 5:
|
|
196
|
+
return process.env.NODE_ENV = "production", optimizeDeps = (0, import_getOptimizeDeps.getOptimizeDeps)("build").optimizeDeps, webBuildConfig = (0, import_vite.mergeConfig)((0, import_getBaseViteConfig.getBaseViteConfig)({
|
|
181
197
|
mode: "production"
|
|
182
198
|
}), {
|
|
183
199
|
root: options.root,
|
|
@@ -185,27 +201,37 @@ var resolveFile = function(path) {
|
|
|
185
201
|
optimizeDeps
|
|
186
202
|
}), options.webConfig && (webBuildConfig = (0, import_vite.mergeConfig)(webBuildConfig, options.webConfig)), buildOptions.step === "generate" ? [
|
|
187
203
|
3,
|
|
188
|
-
|
|
189
|
-
] : (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
204
|
+
7
|
|
205
|
+
] : (clientBuildConfig = (0, import_vite.mergeConfig)(webBuildConfig, {
|
|
206
|
+
build: {
|
|
207
|
+
ssrManifest: !0,
|
|
208
|
+
outDir: "dist/client"
|
|
209
|
+
}
|
|
210
|
+
}), process.env.VXRN_DISABLE_PROD_OPTIMIZATION && (clientBuildConfig = (0, import_vite.mergeConfig)(clientBuildConfig, {
|
|
211
|
+
optimizeDeps: {
|
|
212
|
+
esbuildOptions: {
|
|
213
|
+
minify: !1
|
|
195
214
|
}
|
|
196
|
-
}
|
|
215
|
+
},
|
|
216
|
+
build: {
|
|
217
|
+
minify: !1,
|
|
218
|
+
rollupOptions: {
|
|
219
|
+
treeshake: !1,
|
|
220
|
+
output: {
|
|
221
|
+
minifyInternalExports: !1
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
})), [
|
|
226
|
+
4,
|
|
227
|
+
(0, import_vite.build)(clientBuildConfig)
|
|
197
228
|
]);
|
|
198
|
-
case
|
|
199
|
-
_state.sent(), _state.label =
|
|
200
|
-
case
|
|
229
|
+
case 6:
|
|
230
|
+
_state.sent(), _state.label = 7;
|
|
231
|
+
case 7:
|
|
201
232
|
return console.info("build server"), [
|
|
202
233
|
4,
|
|
203
234
|
(0, import_vite.build)((0, import_vite.mergeConfig)(webBuildConfig, {
|
|
204
|
-
// optimizeDeps: {
|
|
205
|
-
// esbuildOptions: {
|
|
206
|
-
// format: 'cjs',
|
|
207
|
-
// },
|
|
208
|
-
// },
|
|
209
235
|
ssr: {
|
|
210
236
|
noExternal: optimizeDeps.include,
|
|
211
237
|
optimizeDeps
|
|
@@ -221,343 +247,27 @@ var resolveFile = function(path) {
|
|
|
221
247
|
}
|
|
222
248
|
}))
|
|
223
249
|
];
|
|
224
|
-
case
|
|
225
|
-
return output = _state.sent().output,
|
|
226
|
-
4,
|
|
227
|
-
generateStaticPages(options, output)
|
|
228
|
-
];
|
|
229
|
-
case 5:
|
|
230
|
-
return _state.sent(), [
|
|
231
|
-
2
|
|
232
|
-
];
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
return function(optionsIn) {
|
|
237
|
-
return _ref.apply(this, arguments);
|
|
238
|
-
};
|
|
239
|
-
}();
|
|
240
|
-
function generateStaticPages(options, serverOutput) {
|
|
241
|
-
return _generateStaticPages.apply(this, arguments);
|
|
242
|
-
}
|
|
243
|
-
function _generateStaticPages() {
|
|
244
|
-
return _generateStaticPages = _async_to_generator(function(options, serverOutput) {
|
|
245
|
-
var toAbsolute, staticDir, template, render, assets, allRoutes, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _loop, _iterator, _step, err, cssStringRaw, tmpCssFile, cssString, _iteratorNormalCompletion1, _didIteratorError1, _iteratorError1, _iterator1, _step1, _step_value, path, loaderData, params, loaderProps, _ref, appHtml, headHtml, slashFileName, clientHtmlPath, clientHtml, _tmp, html, filePath, err1, err;
|
|
246
|
-
return _ts_generator(this, function(_state) {
|
|
247
|
-
switch (_state.label) {
|
|
248
|
-
case 0:
|
|
249
|
-
return toAbsolute = function(p) {
|
|
250
|
-
return import_node_path.default.resolve(options.root, p);
|
|
251
|
-
}, staticDir = toAbsolute("dist/static"), [
|
|
252
|
-
4,
|
|
253
|
-
ensureDir(staticDir)
|
|
254
|
-
];
|
|
255
|
-
case 1:
|
|
256
|
-
return _state.sent(), template = import_node_fs.default.readFileSync(toAbsolute("index.html"), "utf-8"), [
|
|
250
|
+
case 8:
|
|
251
|
+
return output = _state.sent().output, options.afterBuild ? [
|
|
257
252
|
4,
|
|
258
|
-
|
|
259
|
-
];
|
|
260
|
-
case 2:
|
|
261
|
-
render = _state.sent().render, assets = [], allRoutes = [], _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0, _state.label = 3;
|
|
262
|
-
case 3:
|
|
263
|
-
_state.trys.push([
|
|
264
|
-
3,
|
|
265
|
-
8,
|
|
266
|
-
9,
|
|
267
|
-
10
|
|
268
|
-
]), _loop = function() {
|
|
269
|
-
var output, getUrl, _exported_generateStaticParams, id, file, name, endpointPath, exported, err12, _ref2, paramsList, _iteratorNormalCompletion2, _didIteratorError2, _iteratorError2, _iterator2, _step12, params2, _exported_loader, path2, _ref1, loaderData2, err2;
|
|
270
|
-
return _ts_generator(this, function(_state2) {
|
|
271
|
-
switch (_state2.label) {
|
|
272
|
-
case 0:
|
|
273
|
-
if (output = _step.value, getUrl = function() {
|
|
274
|
-
var _params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
275
|
-
if (name === "index")
|
|
276
|
-
return "/";
|
|
277
|
-
if (name.startsWith("[...")) {
|
|
278
|
-
var part = name.replace("[...", "").replace("]", "");
|
|
279
|
-
return "/".concat(_params[part]);
|
|
280
|
-
}
|
|
281
|
-
return "/".concat(name.split("/").map(function(part2) {
|
|
282
|
-
if (part2[0] === "[") {
|
|
283
|
-
var found = _params[part2.slice(1, part2.length - 1)];
|
|
284
|
-
return found || console.warn("not found", {
|
|
285
|
-
_params,
|
|
286
|
-
part: part2
|
|
287
|
-
}), found;
|
|
288
|
-
}
|
|
289
|
-
return part2;
|
|
290
|
-
}).join("/"));
|
|
291
|
-
}, output.type === "asset")
|
|
292
|
-
return assets.push(output), [
|
|
293
|
-
2,
|
|
294
|
-
"continue"
|
|
295
|
-
];
|
|
296
|
-
if (id = output.facadeModuleId || "", file = import_node_path.default.basename(id), name = file.replace(/\.[^/.]+$/, ""), !id || file[0] === "_" || file.includes("entry-server"))
|
|
297
|
-
return [
|
|
298
|
-
2,
|
|
299
|
-
"continue"
|
|
300
|
-
];
|
|
301
|
-
if (id.includes("+api"))
|
|
302
|
-
return [
|
|
303
|
-
2,
|
|
304
|
-
"continue"
|
|
305
|
-
];
|
|
306
|
-
endpointPath = import_node_path.default.join(options.root, "dist/server", output.fileName), exported = void 0, _state2.label = 1;
|
|
307
|
-
case 1:
|
|
308
|
-
return _state2.trys.push([
|
|
309
|
-
1,
|
|
310
|
-
3,
|
|
311
|
-
,
|
|
312
|
-
4
|
|
313
|
-
]), [
|
|
314
|
-
4,
|
|
315
|
-
import(endpointPath)
|
|
316
|
-
];
|
|
317
|
-
case 2:
|
|
318
|
-
return exported = _state2.sent(), [
|
|
319
|
-
3,
|
|
320
|
-
4
|
|
321
|
-
];
|
|
322
|
-
case 3:
|
|
323
|
-
throw err12 = _state2.sent(), console.error("Error importing page (original error)", err12), new Error("Error importing page: ".concat(endpointPath), {
|
|
324
|
-
cause: err12
|
|
325
|
-
});
|
|
326
|
-
case 4:
|
|
327
|
-
return [
|
|
328
|
-
4,
|
|
329
|
-
(_exported_generateStaticParams = exported.generateStaticParams) === null || _exported_generateStaticParams === void 0 ? void 0 : _exported_generateStaticParams.call(exported)
|
|
330
|
-
];
|
|
331
|
-
case 5:
|
|
332
|
-
paramsList = (_ref2 = _state2.sent()) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
333
|
-
{}
|
|
334
|
-
], _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0, _state2.label = 6;
|
|
335
|
-
case 6:
|
|
336
|
-
_state2.trys.push([
|
|
337
|
-
6,
|
|
338
|
-
11,
|
|
339
|
-
12,
|
|
340
|
-
13
|
|
341
|
-
]), _iterator2 = paramsList[Symbol.iterator](), _state2.label = 7;
|
|
342
|
-
case 7:
|
|
343
|
-
return (_iteratorNormalCompletion2 = (_step12 = _iterator2.next()).done) ? [
|
|
344
|
-
3,
|
|
345
|
-
10
|
|
346
|
-
] : (params2 = _step12.value, path2 = getUrl(params2), [
|
|
347
|
-
4,
|
|
348
|
-
(_exported_loader = exported.loader) === null || _exported_loader === void 0 ? void 0 : _exported_loader.call(exported, {
|
|
349
|
-
path: path2,
|
|
350
|
-
params: params2
|
|
351
|
-
})
|
|
352
|
-
]);
|
|
353
|
-
case 8:
|
|
354
|
-
loaderData2 = (_ref1 = _state2.sent()) !== null && _ref1 !== void 0 ? _ref1 : {}, allRoutes.push({
|
|
355
|
-
path: path2,
|
|
356
|
-
params: params2,
|
|
357
|
-
loaderData: loaderData2
|
|
358
|
-
}), _state2.label = 9;
|
|
359
|
-
case 9:
|
|
360
|
-
return _iteratorNormalCompletion2 = !0, [
|
|
361
|
-
3,
|
|
362
|
-
7
|
|
363
|
-
];
|
|
364
|
-
case 10:
|
|
365
|
-
return [
|
|
366
|
-
3,
|
|
367
|
-
13
|
|
368
|
-
];
|
|
369
|
-
case 11:
|
|
370
|
-
return err2 = _state2.sent(), _didIteratorError2 = !0, _iteratorError2 = err2, [
|
|
371
|
-
3,
|
|
372
|
-
13
|
|
373
|
-
];
|
|
374
|
-
case 12:
|
|
375
|
-
try {
|
|
376
|
-
!_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
|
|
377
|
-
} finally {
|
|
378
|
-
if (_didIteratorError2)
|
|
379
|
-
throw _iteratorError2;
|
|
380
|
-
}
|
|
381
|
-
return [
|
|
382
|
-
7
|
|
383
|
-
];
|
|
384
|
-
case 13:
|
|
385
|
-
return [
|
|
386
|
-
2
|
|
387
|
-
];
|
|
388
|
-
}
|
|
389
|
-
});
|
|
390
|
-
}, _iterator = serverOutput[Symbol.iterator](), _state.label = 4;
|
|
391
|
-
case 4:
|
|
392
|
-
return (_iteratorNormalCompletion = (_step = _iterator.next()).done) ? [
|
|
393
|
-
3,
|
|
394
|
-
7
|
|
253
|
+
options.afterBuild(options, output)
|
|
395
254
|
] : [
|
|
396
|
-
5,
|
|
397
|
-
_ts_values(_loop())
|
|
398
|
-
];
|
|
399
|
-
case 5:
|
|
400
|
-
_state.sent(), _state.label = 6;
|
|
401
|
-
case 6:
|
|
402
|
-
return _iteratorNormalCompletion = !0, [
|
|
403
|
-
3,
|
|
404
|
-
4
|
|
405
|
-
];
|
|
406
|
-
case 7:
|
|
407
|
-
return [
|
|
408
|
-
3,
|
|
409
|
-
10
|
|
410
|
-
];
|
|
411
|
-
case 8:
|
|
412
|
-
return err = _state.sent(), _didIteratorError = !0, _iteratorError = err, [
|
|
413
255
|
3,
|
|
414
256
|
10
|
|
415
257
|
];
|
|
416
258
|
case 9:
|
|
417
|
-
|
|
418
|
-
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
419
|
-
} finally {
|
|
420
|
-
if (_didIteratorError)
|
|
421
|
-
throw _iteratorError;
|
|
422
|
-
}
|
|
423
|
-
return [
|
|
424
|
-
7
|
|
425
|
-
];
|
|
259
|
+
_state.sent(), _state.label = 10;
|
|
426
260
|
case 10:
|
|
427
|
-
return cssStringRaw = assets.filter(function(x) {
|
|
428
|
-
var _x_name;
|
|
429
|
-
return (_x_name = x.name) === null || _x_name === void 0 ? void 0 : _x_name.endsWith(".css");
|
|
430
|
-
}).map(function(x) {
|
|
431
|
-
return x.source;
|
|
432
|
-
}).join(`
|
|
433
|
-
|
|
434
|
-
`), tmpCssFile = import_node_path.default.join((0, import_node_os.tmpdir)(), "tmp.css"), [
|
|
435
|
-
4,
|
|
436
|
-
import_fs_extra.default.writeFile(tmpCssFile, cssStringRaw, "utf-8")
|
|
437
|
-
];
|
|
438
|
-
case 11:
|
|
439
|
-
return _state.sent(), [
|
|
440
|
-
4,
|
|
441
|
-
(0, import_esbuild.build)({
|
|
442
|
-
entryPoints: [
|
|
443
|
-
tmpCssFile
|
|
444
|
-
],
|
|
445
|
-
target: "safari17",
|
|
446
|
-
bundle: !0,
|
|
447
|
-
minifyWhitespace: !0,
|
|
448
|
-
sourcemap: !1,
|
|
449
|
-
outfile: tmpCssFile,
|
|
450
|
-
loader: {
|
|
451
|
-
".css": "css"
|
|
452
|
-
}
|
|
453
|
-
})
|
|
454
|
-
];
|
|
455
|
-
case 12:
|
|
456
|
-
return _state.sent(), [
|
|
457
|
-
4,
|
|
458
|
-
import_fs_extra.default.readFile(tmpCssFile, "utf-8")
|
|
459
|
-
];
|
|
460
|
-
case 13:
|
|
461
|
-
cssString = _state.sent(), _iteratorNormalCompletion1 = !0, _didIteratorError1 = !1, _iteratorError1 = void 0, _state.label = 14;
|
|
462
|
-
case 14:
|
|
463
|
-
_state.trys.push([
|
|
464
|
-
14,
|
|
465
|
-
25,
|
|
466
|
-
26,
|
|
467
|
-
27
|
|
468
|
-
]), _iterator1 = allRoutes[Symbol.iterator](), _state.label = 15;
|
|
469
|
-
case 15:
|
|
470
|
-
if (_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done)
|
|
471
|
-
return [
|
|
472
|
-
3,
|
|
473
|
-
24
|
|
474
|
-
];
|
|
475
|
-
_step_value = _step1.value, path = _step_value.path, loaderData = _step_value.loaderData, params = _step_value.params, _state.label = 16;
|
|
476
|
-
case 16:
|
|
477
|
-
return _state.trys.push([
|
|
478
|
-
16,
|
|
479
|
-
22,
|
|
480
|
-
,
|
|
481
|
-
23
|
|
482
|
-
]), loaderProps = {
|
|
483
|
-
params
|
|
484
|
-
}, globalThis.__vxrnLoaderProps__ = loaderProps, console.info("render", path), [
|
|
485
|
-
4,
|
|
486
|
-
render({
|
|
487
|
-
path
|
|
488
|
-
})
|
|
489
|
-
];
|
|
490
|
-
case 17:
|
|
491
|
-
return _ref = _state.sent(), appHtml = _ref.appHtml, headHtml = _ref.headHtml, slashFileName = "".concat(path === "/" ? "/index" : path, ".html"), clientHtmlPath = toAbsolute("dist/client".concat(slashFileName)), existsSync(clientHtmlPath) ? [
|
|
492
|
-
4,
|
|
493
|
-
readFile(clientHtmlPath, "utf-8")
|
|
494
|
-
] : [
|
|
495
|
-
3,
|
|
496
|
-
19
|
|
497
|
-
];
|
|
498
|
-
case 18:
|
|
499
|
-
return _tmp = _state.sent(), [
|
|
500
|
-
3,
|
|
501
|
-
20
|
|
502
|
-
];
|
|
503
|
-
case 19:
|
|
504
|
-
_tmp = null, _state.label = 20;
|
|
505
|
-
case 20:
|
|
506
|
-
return clientHtml = _tmp, html = (0, import_getHtml.getHtml)({
|
|
507
|
-
template: clientHtml || template,
|
|
508
|
-
appHtml,
|
|
509
|
-
headHtml,
|
|
510
|
-
loaderData,
|
|
511
|
-
loaderProps,
|
|
512
|
-
css: cssString
|
|
513
|
-
}), filePath = toAbsolute("dist/static".concat(slashFileName)), [
|
|
514
|
-
4,
|
|
515
|
-
ensureDir(import_node_path.default.dirname(filePath))
|
|
516
|
-
];
|
|
517
|
-
case 21:
|
|
518
|
-
return _state.sent(), import_node_fs.default.writeFileSync(toAbsolute(filePath), html), [
|
|
519
|
-
3,
|
|
520
|
-
23
|
|
521
|
-
];
|
|
522
|
-
case 22:
|
|
523
|
-
throw err1 = _state.sent(), (0, import_assert.assertIsError)(err1), console.error("og error because cause not working", err1), new Error("Error building static page: ".concat(path, ` with:
|
|
524
|
-
loaderData: `).concat(JSON.stringify(loaderData || null), `
|
|
525
|
-
params: `).concat(JSON.stringify(params || null)), {
|
|
526
|
-
cause: err1
|
|
527
|
-
});
|
|
528
|
-
case 23:
|
|
529
|
-
return _iteratorNormalCompletion1 = !0, [
|
|
530
|
-
3,
|
|
531
|
-
15
|
|
532
|
-
];
|
|
533
|
-
case 24:
|
|
534
|
-
return [
|
|
535
|
-
3,
|
|
536
|
-
27
|
|
537
|
-
];
|
|
538
|
-
case 25:
|
|
539
|
-
return err = _state.sent(), _didIteratorError1 = !0, _iteratorError1 = err, [
|
|
540
|
-
3,
|
|
541
|
-
27
|
|
542
|
-
];
|
|
543
|
-
case 26:
|
|
544
|
-
try {
|
|
545
|
-
!_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
|
|
546
|
-
} finally {
|
|
547
|
-
if (_didIteratorError1)
|
|
548
|
-
throw _iteratorError1;
|
|
549
|
-
}
|
|
550
|
-
return [
|
|
551
|
-
7
|
|
552
|
-
];
|
|
553
|
-
case 27:
|
|
554
261
|
return [
|
|
555
262
|
2
|
|
556
263
|
];
|
|
557
264
|
}
|
|
558
265
|
});
|
|
559
|
-
})
|
|
560
|
-
|
|
266
|
+
});
|
|
267
|
+
return function(optionsIn) {
|
|
268
|
+
return _ref.apply(this, arguments);
|
|
269
|
+
};
|
|
270
|
+
}();
|
|
561
271
|
// Annotate the CommonJS export names for ESM import in node:
|
|
562
272
|
0 && (module.exports = {
|
|
563
273
|
build,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/exports/Users/n8/vxrn/packages/vxrn/src/exports/build.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
5
|
-
"names": ["Error", "stackTraceLimit", "Infinity", "resolveFile", "path", "importMetaResolve", "url", "replace", "require", "resolve", "
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sBAAoB,iCACpB,6BAA6C,gCAC7C,kBAAmB,6BAEnB,cAAiE,iBAEjE,2BAAkC,uCAClC,yBAAgC,qCAChC,0BAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAQA,aAAeC,gBAAAA,QAAfD;AAERE,MAAMC,kBAAkBC;AAEjB,IAAMC,cAAc,SAACC,MAAAA;AAC1B,MAAI;AACF,eAAOC,2BAAAA,SAAkBD,MAAM,YAAYE,GAAG,EAAEC,QAAQ,WAAW,EAAA;EACrE,QAAQ;AACN,WAAOC,QAAQC,QAAQL,IAAAA;EACzB;AACF,GAIaM,QAAAA,WAAAA;aAAQ,oBAAA,SAAOC,WAAAA;QAAuBC,cAC3CC,SAeEC,cAEJC,gBAgBEC,mBA+BEC;;;;AAjEyCL,gCAAAA,WAAAA,SAAAA,KAAAA,WAAAA,CAAAA,MAAAA,SAAAA,WAAAA,CAAAA,IAA6B,CAAC,GAC/D;;gBAAMM,0CAAiBP,SAAAA;;;iBAAjCE,UAAU,OAAA,KAAA;UAGZf,WAAW,MAAA,IACb;;gBAAMqB,oBAAG,QAAQ;cAAEC,WAAW;cAAMC,OAAO;YAAK,CAAA;cAD9CvB;;;;;AACF,iBAAA,KAAA;;;;YAIEA,WAAW,oBAAA,IACb;;kBAAMqB,oBAAG,sBAAsB;gBAAEC,WAAW;gBAAMC,OAAO;cAAK,CAAA;gBAD5DvB;;;;;;AACF,iBAAA,KAAA;;iBAIFwB,QAAQC,IAAIC,WAAW,cAEfV,mBAAiBW,wCAAgB,OAAA,EAAjCX,cAEJC,qBAAiBW,6BACnBC,4CAAkB;YAChBC,MAAM;UACR,CAAA,GACA;YACEC,MAAMhB,QAAQgB;YACdC,aAAa;YACbhB;UACF,CAAA,GAGED,QAAQkB,cACVhB,qBAAiBW,yBAAYX,gBAAgBF,QAAQkB,SAAS,IAG5DnB,aAAaoB,SAAS,aAAtBpB;;;eACEI,wBAAoBU,yBAAYX,gBAAgB;YAClDL,OAAO;cACLuB,aAAa;cACbC,QAAQ;YACV;UACF,CAAA,GAEIZ,QAAQC,IAAIY,mCACdnB,wBAAoBU,yBAAYV,mBAAmB;YACjDF,cAAc;cACZsB,gBAAgB;gBACdC,QAAQ;cACV;YACF;YAEA3B,OAAO;cACL2B,QAAQ;cACRC,eAAe;gBACbC,WAAW;gBACXtB,QAAQ;kBACNuB,uBAAuB;gBACzB;cACF;YACF;UACF,CAAA,IAGF;;gBAAMC,YAAAA,OAAUzB,iBAAAA;;;AAAhB,iBAAA,KAAA;;AAGF0B,yBAAQC,KAAM,cAAA,GACM;;gBAAMF,YAAAA,WACxBf,yBAAYX,gBAAgB;cAC1B6B,KAAK;gBACHC,YAAY/B,aAAagC;gBACzBhC;cACF;cAEAJ,OAAO;;gBAELqC,cAAc;gBACdH,KAAK;gBACLV,QAAQ;gBACRI,eAAe;kBACbU,UAAQ,CAAA;gBACV;cACF;YACF,CAAA,CAAA;;;iBAhBM/B,SAAY,OAAA,KAAA,EAAZA,QAmBJJ,QAAQoC,aACV;;YAAMpC,QAAQoC,WAAWpC,SAASI,MAAAA;cADhCJ;;;;;AACF,iBAAA,KAAA;;;;;;;EAEJ,CAAA;kBAvF4BF,WAAAA;;;;",
|
|
5
|
+
"names": ["existsSync", "FSExtra", "Error", "stackTraceLimit", "Infinity", "resolveFile", "path", "importMetaResolve", "url", "replace", "require", "resolve", "build", "optionsIn", "buildOptions", "options", "optimizeDeps", "webBuildConfig", "clientBuildConfig", "output", "getOptionsFilled", "rm", "recursive", "force", "process", "env", "NODE_ENV", "getOptimizeDeps", "mergeConfig", "getBaseViteConfig", "mode", "root", "clearScreen", "webConfig", "step", "ssrManifest", "outDir", "VXRN_DISABLE_PROD_OPTIMIZATION", "esbuildOptions", "minify", "rollupOptions", "treeshake", "minifyInternalExports", "viteBuild", "console", "info", "ssr", "noExternal", "include", "cssCodeSplit", "external", "afterBuild"]
|
|
6
6
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var coerceToArray_exports = {};
|
|
16
|
+
__export(coerceToArray_exports, {
|
|
17
|
+
coerceToArray: () => coerceToArray
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(coerceToArray_exports);
|
|
20
|
+
function coerceToArray(thing) {
|
|
21
|
+
return Array.isArray(thing) ? thing : [thing];
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=coerceToArray.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var connectedNativeClients_exports = {};
|
|
16
|
+
__export(connectedNativeClients_exports, {
|
|
17
|
+
connectedNativeClients: () => connectedNativeClients
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(connectedNativeClients_exports);
|
|
20
|
+
let connectedNativeClients = 0;
|
|
21
|
+
//# sourceMappingURL=connectedNativeClients.js.map
|