one 1.1.283 → 1.1.285
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/cleanUrl.js +9 -5
- package/dist/cjs/cleanUrl.js.map +2 -2
- package/dist/cjs/cleanUrl.native.js +9 -5
- package/dist/cjs/cleanUrl.native.js.map +2 -2
- package/dist/cjs/createHandleRequest.js +2 -2
- package/dist/cjs/createHandleRequest.js.map +1 -1
- package/dist/cjs/createHandleRequest.native.js +2 -2
- package/dist/cjs/createHandleRequest.native.js.map +2 -2
- package/dist/cjs/getRoutes.js +1 -1
- package/dist/cjs/getRoutes.native.js +1 -1
- package/dist/cjs/getRoutes.native.js.map +1 -1
- package/dist/cjs/getURL.js +2 -2
- package/dist/cjs/getURL.js.map +1 -1
- package/dist/cjs/router/constants.js +2 -3
- package/dist/cjs/router/constants.js.map +1 -1
- package/dist/cjs/router/constants.native.js +3 -5
- package/dist/cjs/router/constants.native.js.map +2 -2
- package/dist/cjs/router/router.js +1 -1
- package/dist/cjs/router/router.js.map +1 -1
- package/dist/cjs/router/router.native.js +2 -3
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/cjs/useLoader.js +1 -1
- package/dist/cjs/useLoader.js.map +1 -1
- package/dist/cjs/useLoader.native.js +1 -1
- package/dist/cjs/useLoader.native.js.map +1 -1
- package/dist/cjs/useViteRoutes.js.map +1 -1
- package/dist/cjs/useViteRoutes.native.js.map +1 -1
- package/dist/cjs/utils/dynamicImport.native.js +1 -1
- package/dist/cjs/utils/dynamicImport.native.js.map +1 -1
- package/dist/cjs/vite/build.js +1 -1
- package/dist/cjs/vite/build.js.map +1 -1
- package/dist/cjs/vite/build.native.js +1 -1
- package/dist/cjs/vite/build.native.js.map +1 -1
- package/dist/esm/cleanUrl.js +11 -5
- package/dist/esm/cleanUrl.js.map +1 -1
- package/dist/esm/cleanUrl.mjs +14 -6
- package/dist/esm/cleanUrl.mjs.map +1 -1
- package/dist/esm/cleanUrl.native.js +14 -5
- package/dist/esm/cleanUrl.native.js.map +1 -1
- package/dist/esm/createHandleRequest.js +2 -1
- package/dist/esm/createHandleRequest.js.map +1 -1
- package/dist/esm/createHandleRequest.mjs +2 -1
- package/dist/esm/createHandleRequest.mjs.map +1 -1
- package/dist/esm/createHandleRequest.native.js +2 -1
- package/dist/esm/createHandleRequest.native.js.map +1 -1
- package/dist/esm/getRoutes.js +1 -1
- package/dist/esm/getRoutes.mjs +1 -1
- package/dist/esm/getRoutes.mjs.map +1 -1
- package/dist/esm/getRoutes.native.js +1 -1
- package/dist/esm/getURL.js +1 -1
- package/dist/esm/getURL.js.map +1 -1
- package/dist/esm/getURL.mjs +1 -1
- package/dist/esm/getURL.mjs.map +1 -1
- package/dist/esm/router/constants.js +2 -3
- package/dist/esm/router/constants.js.map +1 -1
- package/dist/esm/router/constants.mjs +2 -3
- package/dist/esm/router/constants.mjs.map +1 -1
- package/dist/esm/router/constants.native.js +2 -3
- package/dist/esm/router/constants.native.js.map +1 -1
- package/dist/esm/router/router.js +1 -1
- package/dist/esm/router/router.js.map +1 -1
- package/dist/esm/router/router.mjs +1 -1
- package/dist/esm/router/router.mjs.map +1 -1
- package/dist/esm/router/router.native.js +3 -5
- package/dist/esm/router/router.native.js.map +1 -1
- package/dist/esm/useLoader.js +1 -1
- package/dist/esm/useLoader.js.map +1 -1
- package/dist/esm/useLoader.mjs +1 -1
- package/dist/esm/useLoader.mjs.map +1 -1
- package/dist/esm/useLoader.native.js +1 -1
- package/dist/esm/useLoader.native.js.map +1 -1
- package/dist/esm/useViteRoutes.js.map +1 -1
- package/dist/esm/useViteRoutes.mjs.map +1 -1
- package/dist/esm/useViteRoutes.native.js.map +1 -1
- package/dist/esm/utils/dynamicImport.native.js +1 -1
- package/dist/esm/utils/dynamicImport.native.js.map +1 -1
- package/dist/esm/vite/build.js +1 -1
- package/dist/esm/vite/build.js.map +1 -1
- package/dist/esm/vite/build.mjs +1 -1
- package/dist/esm/vite/build.mjs.map +1 -1
- package/dist/esm/vite/build.native.js +1 -1
- package/dist/esm/vite/build.native.js.map +1 -1
- package/package.json +5 -5
- package/src/cleanUrl.ts +22 -6
- package/src/createHandleRequest.ts +2 -5
- package/src/getRoutes.ts +1 -1
- package/src/getURL.ts +4 -1
- package/src/router/constants.ts +0 -5
- package/src/router/router.ts +6 -2
- package/src/useLoader.ts +2 -1
- package/src/useViteRoutes.tsx +0 -2
- package/src/utils/dynamicImport.ts +1 -1
- package/src/vite/build.ts +1 -1
- package/types/cleanUrl.d.ts +2 -2
- package/types/cleanUrl.d.ts.map +1 -1
- package/types/createHandleRequest.d.ts.map +1 -1
- package/types/getURL.d.ts.map +1 -1
- package/types/router/constants.d.ts +0 -1
- package/types/router/constants.d.ts.map +1 -1
- package/types/router/router.d.ts.map +1 -1
- package/types/useLoader.d.ts.map +1 -1
- package/types/useViteRoutes.d.ts.map +1 -1
@@ -1,4 +1,3 @@
|
|
1
|
-
var
|
2
|
-
|
3
|
-
export { CACHE_KEY, CLIENT_BASE_URL };
|
1
|
+
var CACHE_KEY = `${Math.random()}`.slice(3);
|
2
|
+
export { CACHE_KEY };
|
4
3
|
//# sourceMappingURL=constants.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["CACHE_KEY","Math","random","slice"],"sources":["../../../src/router/constants.ts"],"sourcesContent":[null],"mappings":"AAGO,IAAAA,SAAM,MAAYC,IAAG,CAAAC,MAAK,IAAQ,CAAAC,KAAG,GAAM","ignoreList":[]}
|
@@ -5,6 +5,7 @@ import * as Linking from "expo-linking";
|
|
5
5
|
import { nanoid } from "nanoid/non-secure";
|
6
6
|
import { Fragment, startTransition, useSyncExternalStore } from "react";
|
7
7
|
import { Platform } from "react-native-web";
|
8
|
+
import { getLoaderPath, getPreloadPath } from "../cleanUrl";
|
8
9
|
import { deepEqual, getPathDataFromState } from "../fork/getPathFromState";
|
9
10
|
import { stripBaseUrl } from "../fork/getStateFromPath";
|
10
11
|
import { getLinkingConfig } from "../getLinkingConfig";
|
@@ -20,7 +21,6 @@ import { removeSearch } from "../utils/removeSearch";
|
|
20
21
|
import { shouldLinkExternally } from "../utils/url";
|
21
22
|
import { getNormalizedStatePath } from "./getNormalizedStatePath";
|
22
23
|
import { setLastAction } from "./lastAction";
|
23
|
-
import { getLoaderPath, getPreloadPath } from "../cleanUrl";
|
24
24
|
let routeNode = null, rootComponent, linking, hasAttemptedToHideSplash = !1, initialState, rootState, nextState, routeInfo, splashScreenAnimationFrame, navigationRef = null, navigationRefSubscription;
|
25
25
|
const rootStateSubscribers = /* @__PURE__ */ new Set(), loadingStateSubscribers = /* @__PURE__ */ new Set(), storeSubscribers = /* @__PURE__ */ new Set();
|
26
26
|
function initialize(context, ref, initialLocation) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/router/router.ts"],
|
4
|
-
"mappings": "AACA;AAAA,EACE;AAAA,OAGK;AACP,YAAY,aAAa;AACzB,SAAS,cAAc;AACvB,SAAS,UAAU,iBAAiB,4BAAgD;AACpF,SAAS,gBAAgB;
|
4
|
+
"mappings": "AACA;AAAA,EACE;AAAA,OAGK;AACP,YAAY,aAAa;AACzB,SAAS,cAAc;AACvB,SAAS,UAAU,iBAAiB,4BAAgD;AACpF,SAAS,gBAAgB;AAEzB,SAAS,eAAe,sBAAsB;AAE9C,SAAS,WAAW,4BAA4B;AAChD,SAAS,oBAAoB;AAC7B,SAAS,wBAAiD;AAC1D,SAAS,iBAAiB;AAE1B,SAAS,mBAAmB;AAC5B,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,kBAAkB;AAC3B,SAAS,kCAAkC;AAC3C,SAAS,qBAAqB;AAC9B,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAC7B,SAAS,4BAA4B;AAErC,SAAS,8BAA8C;AACvD,SAAS,qBAAqB;AAGvB,IAAI,YAA8B,MAC9B,eACA,SAEA,2BAA2B,IAC3B,cACA,WAEP,WACO,WACP,4BAGO,gBAAyC,MAChD;AAE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cACD,CAAC,uBACA,eAAe,iBAAiB,SAAS,WAAW,MAAM,WAAW,SAAS,WAAW;AAG1F;AAGF,kBAAc,YACd,kBAAkB;AAAA,EACpB;AAMA,QAAM,cAAmC,EAAE,QAAQ,CAAC,EAAE;AACtD,MAAI,UAAU,aACV,SAAS,QAAQ;AAGrB,SAAO;AACL,WAAO,OAAO,QAAQ,EAAE,GAAG,iBAAiB,OAAO,CAAC,GACpD,QAAQ,SAAS,iBAAiB,MAClC,QAAQ,SAAS,EAAE,GAAG,iBAAiB,OAAO,GAE9C,mBAAmB,iBAAiB,OAAO,OAAO,iBAAiB,OAAO,OAAO,SAAS,CAAC,GAE3F,QAAQ,WAAW,CAAC,GACpB,UAAU,QAAQ,QAClB,SAAS;AAIX,SAAI,SAAS,WACX,cAAc,GAGd,OAAO,YAgBH,gBAAgB,SAAS,YAC3B,YAAY,MAAM,GAAG,YAAY,IAAI,IAAI,OAAO,CAAC,MAIjD,SAAS,aAAa,gBAAgB,SAAS,UACjD,OAAO,YAGF;AAAA,IACL;AAAA,IACA,QAAQ,gBAAgB;AAAA,IACxB,SAAS;AAAA,MACP,KAAK,YAAY;AAAA,MACjB,MAAM,YAAY;AAAA,MAClB,QAAQ,YAAY;AAAA,IACtB;AAAA,EACF;AACF;",
|
5
5
|
"names": ["state", "rootState", "current"]
|
6
6
|
}
|
@@ -3,6 +3,7 @@ import * as Linking from "expo-linking";
|
|
3
3
|
import { nanoid } from "nanoid/non-secure";
|
4
4
|
import { Fragment, startTransition, useSyncExternalStore } from "react";
|
5
5
|
import { Platform } from "react-native-web";
|
6
|
+
import { getLoaderPath, getPreloadPath } from "../cleanUrl.mjs";
|
6
7
|
import { deepEqual, getPathDataFromState } from "../fork/getPathFromState.mjs";
|
7
8
|
import { stripBaseUrl } from "../fork/getStateFromPath.mjs";
|
8
9
|
import { getLinkingConfig } from "../getLinkingConfig.mjs";
|
@@ -18,7 +19,6 @@ import { removeSearch } from "../utils/removeSearch.mjs";
|
|
18
19
|
import { shouldLinkExternally } from "../utils/url.mjs";
|
19
20
|
import { getNormalizedStatePath } from "./getNormalizedStatePath.mjs";
|
20
21
|
import { setLastAction } from "./lastAction.mjs";
|
21
|
-
import { getLoaderPath, getPreloadPath } from "../cleanUrl.mjs";
|
22
22
|
let routeNode = null,
|
23
23
|
rootComponent,
|
24
24
|
linking,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","getLoaderPath","getPreloadPath","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","getInitialURL","toString","getStateFromPath","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","subscriber","updateSnapshot","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","current","dismissAll","popToTop","goBack","canGoBack","isReady","canDismiss","type","routes","length","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","getActualLastRoute","name","screen","match","routeLike","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","err","console","error","preloadRoute","event","openURL","startsWith","base","map","segment","slice","Array","isArray","join","Boolean","globalThis","__vxrntodopath","rootState2","action","getNavigateAction","current2","getCurrentRoute","warningTm","interval","setInterval","next","setTimeout","clearTimeout","warn","actionState","navigationState","actionStateRoute","stateRoute","childState","nextNavigationState","dynamicName","rootPayload","payload","Object","assign","key","target"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SACEA,YAAA,QAGK;AACP,YAAYC,OAAA,MAAa;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,QAAA,EAAUC,eAAA,EAAiBC,oBAAA,QAAgD;AACpF,SAASC,QAAA,QAAgB;AAGzB,SAASC,SAAA,EAAWC,oBAAA,QAA4B;AAChD,SAASC,YAAA,QAAoB;AAC7B,SAASC,gBAAA,QAAiD;AAC1D,SAASC,SAAA,QAAiB;AAE1B,SAASC,WAAA,QAAmB;AAC5B,SAASC,OAAA,QAAe;AACxB,SAASC,gBAAA,QAAwB;AACjC,SAASC,UAAA,QAAkB;AAC3B,SAASC,0BAAA,QAAkC;AAC3C,SAASC,aAAA,QAAqB;AAC9B,SAASC,aAAA,QAAqB;AAC9B,SAASC,YAAA,QAAoB;AAC7B,SAASC,oBAAA,QAA4B;AAGrC,SAASC,sBAAA,QAA8C;AACvD,SAASC,aAAA,QAAqB;AAC9B,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAGvC,IAAIC,SAAA,GAA8B;EAC9BC,aAAA;EACAC,OAAA;EAEAC,wBAAA,GAA2B;EAC3BC,YAAA;EACAC,SAAA;EAEPC,SAAA;EACOC,SAAA;EACPC,0BAAA;EAGOC,aAAA,GAAyC;EAChDC,yBAAA;AAEJ,MAAMC,oBAAA,GAAuB,mBAAIC,GAAA,CAAiC;EAC5DC,uBAAA,GAA0B,mBAAID,GAAA,CAAoC;EAClEE,gBAAA,GAAmB,mBAAIF,GAAA,CAAgB;AAGtC,S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AO,CAAC,GACpD2H,OAAA,CAAQjD,MAAA,GAAS2C,gBAAA,CAAiB5C,IAAA,EAClCkD,OAAA,CAAQ3H,MAAA,GAAS;IAAE,GAAGqH,gBAAA,CAAiBrH;EAAO,GAE9CqH,gBAAA,GAAmBA,gBAAA,CAAiBjH,KAAA,EAAO2B,MAAA,CAAOsF,gBAAA,CAAiBjH,KAAA,EAAO2B,MAAA,CAAOC,MAAA,GAAS,CAAC,GAE3F2F,OAAA,CAAQ3H,MAAA,KAAW,CAAC,GACpB2H,OAAA,GAAUA,OAAA,CAAQ3H,MAAA,EAClBA,MAAA,GAAS2H,OAAA;EAIX,OAAI7F,IAAA,KAAS,WACXxE,aAAA,CAAc,GAGdwE,IAAA,GAAO,YAgBHsF,eAAA,CAAgBtF,IAAA,KAAS,YAC3B4F,WAAA,CAAYI,GAAA,GAAM,GAAGJ,WAAA,CAAYjD,IAAI,IAAIvI,MAAA,CAAO,CAAC,MAIjD4F,IAAA,KAAS,aAAasF,eAAA,CAAgBtF,IAAA,KAAS,UACjDA,IAAA,GAAO,YAGF;IACLA,IAAA;IACAiG,MAAA,EAAQX,eAAA,CAAgBU,GAAA;IACxBH,OAAA,EAAS;MACPG,GAAA,EAAKJ,WAAA,CAAYI,GAAA;MACjBrD,IAAA,EAAMiD,WAAA,CAAYhD,MAAA;MAClB1E,MAAA,EAAQ0H,WAAA,CAAY1H;IACtB;EACF;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","getLoaderPath","getPreloadPath","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","getInitialURL","toString","getStateFromPath","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","subscriber","updateSnapshot","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","current","dismissAll","popToTop","goBack","canGoBack","isReady","canDismiss","type","routes","length","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","getActualLastRoute","name","screen","match","routeLike","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","err","console","error","preloadRoute","event","openURL","startsWith","base","map","segment","slice","Array","isArray","join","Boolean","globalThis","__vxrntodopath","rootState2","action","getNavigateAction","current2","getCurrentRoute","warningTm","interval","setInterval","next","setTimeout","clearTimeout","warn","actionState","navigationState","actionStateRoute","stateRoute","childState","nextNavigationState","dynamicName","rootPayload","payload","Object","assign","key","target"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SACEA,YAAA,QAGK;AACP,YAAYC,OAAA,MAAa;AACzB,SAASC,MAAA,QAAc;AACvB,SAASC,QAAA,EAAUC,eAAA,EAAiBC,oBAAA,QAAgD;AACpF,SAASC,QAAA,QAAgB;AAEzB,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAE9C,SAASC,SAAA,EAAWC,oBAAA,QAA4B;AAChD,SAASC,YAAA,QAAoB;AAC7B,SAASC,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,MAIjD4F,IAAA,KAAS,aAAasF,eAAA,CAAgBtF,IAAA,KAAS,UACjDA,IAAA,GAAO,YAGF;IACLA,IAAA;IACAiG,MAAA,EAAQX,eAAA,CAAgBU,GAAA;IACxBH,OAAA,EAAS;MACPG,GAAA,EAAKJ,WAAA,CAAYI,GAAA;MACjBrD,IAAA,EAAMiD,WAAA,CAAYhD,MAAA;MAClB1E,MAAA,EAAQ0H,WAAA,CAAY1H;IACtB;EACF;AACF","ignoreList":[]}
|
@@ -3,6 +3,7 @@ import * as Linking from "expo-linking";
|
|
3
3
|
import { nanoid } from "nanoid/non-secure";
|
4
4
|
import { Fragment, startTransition, useSyncExternalStore } from "react";
|
5
5
|
import { Platform } from "react-native";
|
6
|
+
import { getLoaderPath, getPreloadPath } from "../cleanUrl.native.js";
|
6
7
|
import { deepEqual, getPathDataFromState } from "../fork/getPathFromState.native.js";
|
7
8
|
import { stripBaseUrl } from "../fork/getStateFromPath.native.js";
|
8
9
|
import { getLinkingConfig } from "../getLinkingConfig.native.js";
|
@@ -18,7 +19,6 @@ import { removeSearch } from "../utils/removeSearch.native.js";
|
|
18
19
|
import { shouldLinkExternally } from "../utils/url.native.js";
|
19
20
|
import { getNormalizedStatePath } from "./getNormalizedStatePath.native.js";
|
20
21
|
import { setLastAction } from "./lastAction.native.js";
|
21
|
-
import { getLoaderPath, getPreloadPath } from "../cleanUrl.native.js";
|
22
22
|
var routeNode = null,
|
23
23
|
rootComponent,
|
24
24
|
linking,
|
@@ -286,9 +286,7 @@ function setupPreload(href) {
|
|
286
286
|
}
|
287
287
|
});
|
288
288
|
}
|
289
|
-
function preloadRoute(href) {
|
290
|
-
setupPreload(href), typeof preloadingLoader[href] == "function" && preloadingLoader[href]();
|
291
|
-
}
|
289
|
+
function preloadRoute(href) {}
|
292
290
|
async function linkTo(href, event, options) {
|
293
291
|
if (href[0] !== "#") {
|
294
292
|
if (shouldLinkExternally(href)) {
|
@@ -326,7 +324,7 @@ async function linkTo(href, event, options) {
|
|
326
324
|
console.error("Could not generate a valid navigation state for the given path: " + href), console.error("linking.config", linking.config), console.error("routes", getSortedRoutes());
|
327
325
|
return;
|
328
326
|
}
|
329
|
-
setLoadingState("loading"), globalThis.__vxrntodopath = removeSearch(href)
|
327
|
+
setLoadingState("loading"), globalThis.__vxrntodopath = removeSearch(href);
|
330
328
|
var rootState2 = navigationRef.getRootState(),
|
331
329
|
action = getNavigateAction(state, rootState2, event);
|
332
330
|
nextOptions = options ?? null, startTransition(function () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","getLoaderPath","getPreloadPath","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","_linking_getStateFromPath","getInitialURL","toString","getStateFromPath","call","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","Symbol","iterator","_step2","next","done","subscriber2","value","err","return","updateSnapshot","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","_step","subscriber","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","arguments","length","_navigationRef_current","current","dismissAll","popToTop","goBack","canGoBack","isReady","_navigationRef_current_canGoBack","canDismiss","_state_routes_state_index","_state_routes","type","routes","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","_state_index","getActualLastRoute","name","screen","match","routeLike","_routeLike_state","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","_response_loader","response","console","error","preloadRoute","event","openURL","startsWith","_routeInfo_segments","_routeInfo_segments_map_filter_join","base","map","segment","_routeInfo_params","_routeInfo_params1","_params_split","slice","Array","isArray"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SAAAA,YAAA;AAAA,OACE,KAAAC,OAAA;AAAA,SAGKC,MAAA;AACP,SAAAC,QAAY,EAAAC,eAAa,EAAAC,oBAAA;AACzB,SAASC,QAAA,QAAc;AACvB,SAASC,SAAA,EAAUC,oBAAiB,4CAAgD;AACpF,SAASC,YAAA,QAAgB;AAGzB,SAASC,gBAAW,uCAA4B;AAChD,SAASC,SAAA,gCAAoB;AAC7B,SAASC,WAAA,gCAAiD;AAC1D,SAASC,OAAA,gCAAiB;AAE1B,SAASC,gBAAA,QAAmB;AAC5B,SAASC,UAAA,QAAe;AACxB,SAASC,0BAAwB;AACjC,SAASC,aAAA,QAAkB;AAC3B,SAASC,aAAA,0CAAkC;AAC3C,SAASC,YAAA,yCAAqB;AAC9B,SAASC,oBAAA,QAAqB;AAC9B,SAASC,sBAAoB;AAC7B,SAASC,aAAA,gCAA4B;AAGrC,SAASC,aAAA,EAAAC,cAAA,QAA8C;AACvD,IAAAC,SAAS;EAAAC,aAAqB;EAAAC,OAAA;EAAAC,wBAAA;EAAAC,YAAA;EAAAC,SAAA;EAAAC,SAAA;EAAAC,SAAA;EAAAC,0BAAA;EAAAC,aAAA;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,SAAA,aAAAyJ,mBAAA,GAAAzJ,SAAA,CAAAmC,QAAA,cAAAsH,mBAAA,uBAAAA,mBAAA,CAAAG,GAAA,WAAAC,OAAA;UACxB,IAAAC,iBAAS;UACP,IAAK,CAAAD,OAAA,CAAAL,UAAY,cAAAK,OAAA;UACjB,IAAMA,OAAA,CAAAL,UAAY;YAClB,IAAQO,kBAAY,EAAAC,aAAA;YACtBH,OAAA,GAAAA,OAAA,CAAAI,KAAA;YACF,IAAA/H,MAAA,GAAAlC,SAAA,aAAA+J,kBAAA,GAAA/J,SAAA,CAAAkC,MAAA,cAAA6H,kBAAA,uBAAAA,kBAAA,CAAAF,OAAA;YACF,IAAAK,KAAA,CAAAC,OAAA,CAAAjI,MAAA,G","ignoreList":[]}
|
1
|
+
{"version":3,"names":["StackActions","Linking","nanoid","Fragment","startTransition","useSyncExternalStore","Platform","getLoaderPath","getPreloadPath","deepEqual","getPathDataFromState","stripBaseUrl","getLinkingConfig","getRoutes","resolveHref","resolve","matchDynamicName","sortRoutes","getQualifiedRouteComponent","assertIsReady","dynamicImport","removeSearch","shouldLinkExternally","getNormalizedStatePath","setLastAction","routeNode","rootComponent","linking","hasAttemptedToHideSplash","initialState","rootState","nextState","routeInfo","splashScreenAnimationFrame","navigationRef","navigationRefSubscription","rootStateSubscribers","Set","loadingStateSubscribers","storeSubscribers","initialize","context","ref","initialLocation","cleanUpState","ignoreEntryPoints","platform","OS","process","env","NODE_ENV","Error","setupLinking","subscribeToNavigationChanges","clear","_linking_getStateFromPath","getInitialURL","toString","getStateFromPath","call","pathname","search","config","getRouteInfo","unstable_globalHref","isIndex","params","segments","addListener","data","state","requestAnimationFrame","nextOptions","linkOptions","shouldUpdateSubscribers","updateState","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","Symbol","iterator","_step2","next","done","subscriber2","value","err","return","updateSnapshot","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","_step","subscriber","navigate","url","options","linkTo","push","dismiss","count","dispatch","pop","replace","setParams","arguments","length","_navigationRef_current","current","dismissAll","popToTop","goBack","canGoBack","isReady","_navigationRef_current_canGoBack","canDismiss","_state_routes_state_index","_state_routes","type","routes","index","getSortedRoutes","children","filter","route","internal","sort","nextStateParam","nextRouteInfo","getRouteInfoFromState","state2","asPath","screens","preserveDynamicRoutes","preserveGroups","getPathFromState","baseUrl","path","qualified","split","isIndexPath","subscribeToRootState","add","delete","subscribeToStore","subscribeToLoadingState","setLoadingState","listener","currentSnapshot","getSnapshot","snapshot","rootStateSnapshot","routeInfoSnapshot","useOneRouter","syncStoreRootState","currentState","getRootState","useStoreRootState","useStoreRouteInfo","_state_index","getActualLastRoute","name","screen","match","routeLike","_routeLike_state","cleanup","cancelAnimationFrame","preloadingLoader","setupPreload","href","_preload","loader","Promise","all","_response_loader","response","console","error","preloadRoute","event","openURL","startsWith","_routeInfo_segments","_routeInfo_segments_map_filter_join","base","map","segment","_routeInfo_params","_routeInfo_params1","_params_split","slice","Array","isArray","join"],"sources":["../../../src/router/router.ts"],"sourcesContent":[null],"mappings":"AACA,SAAAA,YAAA;AAAA,OACE,KAAAC,OAAA;AAAA,SAGKC,MAAA;AACP,SAAAC,QAAY,EAAAC,eAAa,EAAAC,oBAAA;AACzB,SAASC,QAAA,QAAc;AACvB,SAASC,aAAU,EAAAC,cAAiB;AACpC,SAASC,SAAA,EAAAC,oBAAgB;AAEzB,SAASC,YAAA,QAAe,oCAAsB;AAE9C,SAASC,gBAAW,uCAA4B;AAChD,SAASC,SAAA,gCAAoB;AAC7B,SAASC,WAAA,gCAAiD;AAC1D,SAASC,OAAA,gCAAiB;AAE1B,SAASC,gBAAA,QAAmB;AAC5B,SAASC,UAAA,QAAe;AACxB,SAASC,0BAAwB;AACjC,SAASC,aAAA,QAAkB;AAC3B,SAASC,aAAA,0CAAkC;AAC3C,SAASC,YAAA,yCAAqB;AAC9B,SAASC,oBAAA,QAAqB;AAC9B,SAASC,sBAAoB;AAC7B,SAASC,aAAA,gCAA4B;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AAC,IAAA,IAAAD,mCAAA,GAAA1J,SAAA,aAAAyJ,mBAAA,GAAAzJ,SAAA,CAAAmC,QAAA,cAAAsH,mBAAA,uBAAAA,mBAAA,CAAAG,GAAA,WAAAC,OAAA;UACA,IAAQC,iBAAgB;UACxB,KAASD,OAAA,CAAAL,UAAA,cAAAK,OAAA;UACP,IAAKA,OAAA,CAAAL,UAAY;YACjB,IAAMO,kBAAY,EAAAC,aAAA;YAClBH,OAAQ,GAAAA,OAAY,CAAAI,KAAA;YACtB,IAAA/H,MAAA,GAAAlC,SAAA,aAAA+J,kBAAA,GAAA/J,SAAA,CAAAkC,MAAA,cAAA6H,kBAAA,uBAAAA,kBAAA,CAAAF,OAAA;YACF,IAAAK,KAAA,CAAAC,OAAA,CAAAjI,MAAA,GACF,OAAAA,MAAA,CAAAkI,IAAA","ignoreList":[]}
|
package/dist/esm/useLoader.js
CHANGED
@@ -33,7 +33,7 @@ function useLoader(loader) {
|
|
33
33
|
console.error("Error loading loader", err), errors[currentPath] = err, delete promises[currentPath], delete preloadingLoader[currentPath];
|
34
34
|
})), !promises[currentPath]) {
|
35
35
|
const getData = async () => {
|
36
|
-
const loaderJSUrl = getLoaderPath(currentPath);
|
36
|
+
const loaderJSUrl = getLoaderPath(currentPath, !0);
|
37
37
|
try {
|
38
38
|
const response = await (async () => {
|
39
39
|
if (isNative) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/useLoader.ts"],
|
4
|
-
"mappings": "AACA,SAAS,WAAW,cAAc;AAElC,SAAS,iBAAiB,iBAAiB;AAC3C,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAE7B,SAAS,wBAAwB;AAEjC,SAAS,qBAAqB;AAC9B,SAAS,eAAe;AACxB,SAAS,qBAAqB;AAE9B,MAAM,WAAsD,CAAC,GACvD,SAAS,CAAC,GACV,aAAkC,CAAC;AAElC,SAAS,UAGd,QAA8E;AAC9E,QAAM,iBAA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AAK,EAAI;AAErB,QAAI,OAAO,IAAI,KAAK;AACpB,IAAI,gBAAgB,YAClB,OAAO,KACJ,KAAK,CAAC,UAAU;AACf,cAAQ,IAAI,KAAK,KAAK;AAAA,IACxB,CAAC,EACA,MAAM,CAAC,QAAQ;AACd,cAAQ,MAAM,0BAA0B,GAAG,GAC3C,QAAQ,IAAI,KAAK,MAAS;AAAA,IAC5B,CAAC,IAEL,QAAQ,IAAI,KAAK,IAAI;AAAA,EACvB;AAGF,QAAM,UAAU,QAAQ,IAAI,GAAG;AAE/B,MAAI,mBAAmB;AACrB,UAAM;AAGR,SAAO;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/useLoader.mjs
CHANGED
@@ -39,7 +39,7 @@ function useLoader(loader) {
|
|
39
39
|
console.error("Error loading loader", err), errors[currentPath] = err, delete promises[currentPath], delete preloadingLoader[currentPath];
|
40
40
|
})), !promises[currentPath]) {
|
41
41
|
const getData = async () => {
|
42
|
-
const loaderJSUrl = getLoaderPath(currentPath);
|
42
|
+
const loaderJSUrl = getLoaderPath(currentPath, !0);
|
43
43
|
try {
|
44
44
|
const response = await (async () => {
|
45
45
|
if (isNative) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useActiveParams","useParams","resolveHref","useRouteNode","preloadingLoader","dynamicImport","weakKey","getLoaderPath","promises","errors","loadedData","useLoader","loader","preloadedProps","globalThis","__vxrnLoaderProps__","window","useAsyncFn","params","isNative","routeNode","pathName","pathname","route","replace","currentPath","__vxrntodopath","location","preloadedData","path","__vxrnLoaderData__","currentData","loaded","then","val","catch","err","console","error","getData","loaderJSUrl","response","nativeLoaderJSUrl","loaderJsCodeResp","fetch","ok","Error","status","loaderJsCode","text","result","eval","e","current","results","Map","started","props","key","JSON","stringify","get","set","next","Promise","final"],"sources":["../../src/useLoader.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,SAAA,EAAWC,MAAA,QAAc;AAElC,SAASC,eAAA,EAAiB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B,UAAA,CAAWe,WAAW;EACrC,IAAI,OAAOO,MAAA,GAAW,KACpB,OAAOA,MAAA;EAGT,IAAI,CAACJ,aAAA,EAAe;IAiBlB,IAhBIxB,gBAAA,CAAiBqB,WAAW,MAC1B,OAAOrB,gBAAA,CAAiBqB,WAAW,KAAM,eAC3CrB,gBAAA,CAAiBqB,WAAW,IAAIrB,gBAAA,CAAiBqB,WAAW,EAAE,IAEhEjB,QAAA,CAASiB,WAAW,IAAIrB,gBAAA,CAAiBqB,WAAW,EACjDQ,IAAA,CAAMC,GAAA,IAAQ;MACbxB,UAAA,CAAWe,WAAW,IAAIS,GAAA;IAC5B,CAAC,EACAC,KAAA,CAAOC,GAAA,IAAQ;MACdC,OAAA,CAAQC,KAAA,CAAM,wBAAwBF,GAAG,GACzC3B,MAAA,CAAOgB,WAAW,IAAIW,GAAA,EACtB,OAAO5B,QAAA,CAASiB,WAAW,GAC3B,OAAOrB,gBAAA,CAAiBqB,WAAW;IACrC,CAAC,IAGD,CAACjB,QAAA,CAASiB,WAAW,GAAG;MAC1B,MAAMc,OAAA,GAAU,MAAAA,CAAA,KAAY;
|
1
|
+
{"version":3,"names":["useEffect","useRef","useActiveParams","useParams","resolveHref","useRouteNode","preloadingLoader","dynamicImport","weakKey","getLoaderPath","promises","errors","loadedData","useLoader","loader","preloadedProps","globalThis","__vxrnLoaderProps__","window","useAsyncFn","params","isNative","routeNode","pathName","pathname","route","replace","currentPath","__vxrntodopath","location","preloadedData","path","__vxrnLoaderData__","currentData","loaded","then","val","catch","err","console","error","getData","loaderJSUrl","response","nativeLoaderJSUrl","loaderJsCodeResp","fetch","ok","Error","status","loaderJsCode","text","result","eval","e","current","results","Map","started","props","key","JSON","stringify","get","set","next","Promise","final"],"sources":["../../src/useLoader.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,SAAA,EAAWC,MAAA,QAAc;AAElC,SAASC,eAAA,EAAiBC,SAAA,QAAiB;AAC3C,SAASC,WAAA,QAAmB;AAC5B,SAAS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ACdC,OAAA,CAAQC,KAAA,CAAM,0BAA0BF,GAAG,GAC3CkB,OAAA,CAAQQ,GAAA,CAAIJ,GAAA,EAAK,MAAS;IAC5B,CAAC,IAELJ,OAAA,CAAQQ,GAAA,CAAIJ,GAAA,EAAKK,IAAI;EACvB;EAGF,MAAMV,OAAA,GAAUC,OAAA,CAAQO,GAAA,CAAIH,GAAG;EAE/B,IAAIL,OAAA,YAAmBW,OAAA,EACrB,MAAMX,OAAA;EAGR,OAAOA,OAAA;AACT","ignoreList":[]}
|
@@ -42,7 +42,7 @@ function useLoader(loader) {
|
|
42
42
|
console.error("Error loading loader", err), errors[currentPath] = err, delete promises[currentPath], delete preloadingLoader[currentPath];
|
43
43
|
})), !promises[currentPath]) {
|
44
44
|
var getData = async function () {
|
45
|
-
var loaderJSUrl = getLoaderPath(currentPath);
|
45
|
+
var loaderJSUrl = getLoaderPath(currentPath, !0);
|
46
46
|
try {
|
47
47
|
var response = await async function () {
|
48
48
|
if (isNative) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useActiveParams","useParams","resolveHref","useRouteNode","preloadingLoader","dynamicImport","weakKey","getLoaderPath","promises","errors","loadedData","useLoader","loader","_window_location","preloadedProps","globalThis","__vxrnLoaderProps__","window","useAsyncFn","params","isNative","routeNode","pathName","pathname","route","replace","currentPath","__vxrntodopath","location","preloadedData","path","__vxrnLoaderData__","currentData","loaded","then","val","catch","err","console","error","getData","loaderJSUrl","response","nativeLoaderJSUrl","loaderJsCodeResp","fetch","ok","Error","status","loaderJsCode","text","result","eval","e","current","results","Map","started","props","key","JSON","stringify","get","set","next","Promise","final"],"sources":["../../src/useLoader.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,SAAA,EAAWC,MAAA,QAAc;AAElC,SAASC,eAAA,EAAiBC,SAAA,QAAiB;AAC3C,SAASC,WAAA,QAAmB;AAC5B,SAASC,YAAA,QAAoB;AAE7B,SAASC,gBAAA,QAAwB;AAEjC,SAASC,aA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names":["useEffect","useRef","useActiveParams","useParams","resolveHref","useRouteNode","preloadingLoader","dynamicImport","weakKey","getLoaderPath","promises","errors","loadedData","useLoader","loader","_window_location","preloadedProps","globalThis","__vxrnLoaderProps__","window","useAsyncFn","params","isNative","routeNode","pathName","pathname","route","replace","currentPath","__vxrntodopath","location","preloadedData","path","__vxrnLoaderData__","currentData","loaded","then","val","catch","err","console","error","getData","loaderJSUrl","response","nativeLoaderJSUrl","loaderJsCodeResp","fetch","ok","Error","status","loaderJsCode","text","result","eval","e","current","results","Map","started","props","key","JSON","stringify","get","set","next","Promise","final"],"sources":["../../src/useLoader.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,SAAA,EAAWC,MAAA,QAAc;AAElC,SAASC,eAAA,EAAiBC,SAAA,QAAiB;AAC3C,SAASC,WAAA,QAAmB;AAC5B,SAASC,YAAA,QAAoB;AAE7B,SAASC,gBAAA,QAAwB;AAEjC,SAASC,aAAA,QAAqB;AAC9B,SAASC,OAAA,QAAe;AACxB,SAASC,aAAA,QAAqB;AAE9B,IAAAC,QAAM,KAAsD;EAACC,MACvD,KAAS;EAACC,UACV,KAAkC;AAEjC,SAASC,UAGdC,MAAA,EAA8E;EAC9E,IAAAC,gBAAM;IAAAC,cAA4B,GAAAC,UAAA,CAAAC,mBAAA;EAGlC,IAAI,OAAOC,MAAA,GAAW,KACpB,OAAOC,UAAA,CAAAN,MAAA,EAAAE,cAAA;IACLK,MAAA,EAAAnB,eAAA;EAAA,EACA;EAAkB,IAAAoB,QAChB,GAAQ;IAAAC,SAAA,GAAgBlB,YAAA;IAAAgB,MAAA,GAAAlB,SAAA;IAAAqB,QAAA,SAAApB,WAAA;MAAAqB,QAC1B,EAAAF,SAAA,EAAAG,KAAA;MACFL;IAGF,GAAAM,OAAM,SAAW,EACX;IAAAC,WAAY,IAAAN,QACZ,UAASL,UAAU,CAAAY,cAKvB;IAAM;IAGwB;IAE7B,OAAOV,MAAA,GAAW,MAAc,EAAAJ,gBAAiB,GAAA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1 @@
|
|
1
|
-
{"version":3,"names":["getLoaderPath","dynamicImport","lastVersion","context","useViteRoutes","routes","options","version","loadRoutes","paths","globalThis","__importMetaGlobbed","globbedRoutesToRouteContext","routesSync","promises","loadedRoutes","clears","Object","keys","map","path","console","error","loadRouteFunction","pathWithoutRelative","replace","shouldRewrite","window","location","import","meta","env","PROD","originalPath","slice","routeModes","info","includes","realPath","__vxrntodopath","pathname","trim","importUrl","moduleKeys","resolve","id","clearTimeout","then","val","setTimeout","catch","err","Error","stack","default","process","NODE_ENV"],"sources":["../../src/useViteRoutes.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;
|
1
|
+
{"version":3,"names":["getLoaderPath","dynamicImport","lastVersion","context","useViteRoutes","routes","options","version","loadRoutes","paths","globalThis","__importMetaGlobbed","globbedRoutesToRouteContext","routesSync","promises","loadedRoutes","clears","Object","keys","map","path","console","error","loadRouteFunction","pathWithoutRelative","replace","shouldRewrite","window","location","import","meta","env","PROD","originalPath","slice","routeModes","info","includes","realPath","__vxrntodopath","pathname","trim","importUrl","moduleKeys","resolve","id","clearTimeout","then","val","setTimeout","catch","err","Error","stack","default","process","NODE_ENV"],"sources":["../../src/useViteRoutes.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAE9B,SAASC,aAAA,QAAqB;AAK9B,IAAIC,WAAA,GAAc;EACdC,OAAA;AAGG,SAASC,cACdC,MAAA,EACAC,OAAA,EACAC,OAAA,EACA;EACA,OAAIA,OAAA,IAAWA,OAAA,GAAUL,WAAA,KAEvBC,OAAA,GAAU,MACVD,WAAA,GAAcK,OAAA,GAGXJ,OAAA,IACHK,UAAA,CAAWH,MAAA,EAAQC,OAAO,GAGrBH,OAAA;AACT;AAEO,SAASK,WAAWC,KAAA,EAA4BH,OAAA,EAA4B;EACjF,OAAIH,OAAA,KACJO,UAAA,CAAWC,mBAAA,GAAyBF,KAAA,EACpCN,OAAA,GAAUS,2BAAA,CAA4BH,KA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GAAK,IACbD,OAAA,CAAQA,OAAA,GAAWC,EAAA,IAAeA,EAAA,EAE3BD,OAAA;AACT","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getLoaderPath","dynamicImport","lastVersion","context","useViteRoutes","routes","options","version","loadRoutes","paths","globalThis","__importMetaGlobbed","globbedRoutesToRouteContext","routesSync","promises","loadedRoutes","clears","Object","keys","map","path","_options_routeModes","console","error","loadRouteFunction","pathWithoutRelative","replace","shouldRewrite","window","location","import","meta","env","PROD","originalPath","slice","routeModes","info","includes","_globalThis___vxrntodopath","realPath","__vxrntodopath","pathname","trim","importUrl","moduleKeys","resolve","id","clearTimeout","then","val","setTimeout","catch","err","Error","stack","default","process","NODE_ENV"],"sources":["../../src/useViteRoutes.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;
|
1
|
+
{"version":3,"names":["getLoaderPath","dynamicImport","lastVersion","context","useViteRoutes","routes","options","version","loadRoutes","paths","globalThis","__importMetaGlobbed","globbedRoutesToRouteContext","routesSync","promises","loadedRoutes","clears","Object","keys","map","path","_options_routeModes","console","error","loadRouteFunction","pathWithoutRelative","replace","shouldRewrite","window","location","import","meta","env","PROD","originalPath","slice","routeModes","info","includes","_globalThis___vxrntodopath","realPath","__vxrntodopath","pathname","trim","importUrl","moduleKeys","resolve","id","clearTimeout","then","val","setTimeout","catch","err","Error","stack","default","process","NODE_ENV"],"sources":["../../src/useViteRoutes.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAE9B,SAASC,aAAA,QAAqB;AAK9B,IAAIC,WAAA,GAAc;EACdC,OAAA;AAGG,SAASC,cACdC,MAAA,EACAC,OAAA,EACAC,OAAA,EACA;EACA,OAAIA,OAAA,IAAWA,OAAA,GAAUL,WAAA,KAEvBC,OAAA,GAAU,MACVD,WAAA,GAAcK,OAAA,GAGXJ,OAAA,IACHK,UAAA,CAAWH,MAAA,EAAQC,OAAO,GAGrBH,OAA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EAAA;IAAA,OAAAA,EAAA;EAAA,GAAAD,OAAA;AAAA;AAAA,SAAAlC,2BAmBC,EAAAJ,UAGlB,EASRJ,aAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["dynamicImport","path","console","
|
1
|
+
{"version":3,"names":["dynamicImport","path","console","info","require"],"sources":["../../../src/utils/dynamicImport.ts"],"sourcesContent":[null],"mappings":"AAEO,IAAAA,aAAM,YAAAA,CAAiBC,IASnB;EAAA,OAAAC,OAAA,CAAAC,IAAA,uBAAAF,IAAA,GAAAG,OAAA,CAAAH,IAAA;AAAA;AAEL,S","ignoreList":[]}
|
package/dist/esm/vite/build.js
CHANGED
@@ -5,10 +5,10 @@ import Path, { join, relative } from "node:path";
|
|
5
5
|
import { nodeExternals } from "rollup-plugin-node-externals";
|
6
6
|
import { mergeConfig, build as viteBuild } from "vite";
|
7
7
|
import { fillOptions, getOptimizeDeps, build as vxrnBuild } from "vxrn";
|
8
|
+
import { getLoaderPath, getPreloadPath } from "../cleanUrl";
|
8
9
|
import { getManifest } from "./getManifest";
|
9
10
|
import { loadUserOneOptions } from "./one";
|
10
11
|
import { replaceLoader } from "./replaceLoader";
|
11
|
-
import { getLoaderPath, getPreloadPath } from "../cleanUrl";
|
12
12
|
const { ensureDir, readFile, outputFile } = FSExtra;
|
13
13
|
process.on("uncaughtException", (err) => {
|
14
14
|
console.error(err?.message || err);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/build.ts"],
|
4
|
-
"mappings": "AAAA,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,SAAS,qBAAqB;AAC9B,OAAO,QAAQ,MAAM,gBAAgB;AAErC,SAAS,qBAAqB;AAC9B,SAAS,aAAa,SAAS,iBAAoC;AACnE,SAAS,aAAa,iBAAiB,SAAS,iBAA2C;
|
4
|
+
"mappings": "AAAA,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACv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QAAQ,KAAK,EAAE;AAAA,QACpD;AACA,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT,CAAC,EACA,KAAK,GAAG,CAAC;AAAA,EACd,GAAG;AAEH,SAAO,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,WAAW,GAAG;AAC7D;AAEA,SAAS,YAAY,QAAgB;AACnC,SAAO,OAAO,QAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS,wBAAwB,MAAgB;AAM/C,QAAM,eAAe,oBAJC,KAAK,IAAI,CAAC,QAAQ,YAAY,GAAG,CAAC,EAEjB,KAAK,GAAG,CAEU;AACzD,SAAO,IAAI,OAAO,YAAY;AAChC;",
|
5
5
|
"names": ["file"]
|
6
6
|
}
|
package/dist/esm/vite/build.mjs
CHANGED
@@ -5,10 +5,10 @@ import Path, { join, relative } from "node:path";
|
|
5
5
|
import { nodeExternals } from "rollup-plugin-node-externals";
|
6
6
|
import { mergeConfig, build as viteBuild } from "vite";
|
7
7
|
import { fillOptions, getOptimizeDeps, build as vxrnBuild } from "vxrn";
|
8
|
+
import { getLoaderPath, getPreloadPath } from "../cleanUrl.mjs";
|
8
9
|
import { getManifest } from "./getManifest.mjs";
|
9
10
|
import { loadUserOneOptions } from "./one.mjs";
|
10
11
|
import { replaceLoader } from "./replaceLoader.mjs";
|
11
|
-
import { getLoaderPath, getPreloadPath } from "../cleanUrl.mjs";
|
12
12
|
const {
|
13
13
|
ensureDir,
|
14
14
|
readFile,
|