one 1.1.271 → 1.1.273

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ __export(clientTreeShakePlugin_exports, {
28
28
  module.exports = __toCommonJS(clientTreeShakePlugin_exports);
29
29
  var import_generator = __toESM(require("@babel/generator"), 1), import_parser = require("@babel/parser"), import_traverse = __toESM(require("@babel/traverse"), 1), import_babel_dead_code_elimination = require("babel-dead-code-elimination"), import_constants = require("./constants");
30
30
  const traverse = import_traverse.default.default, generate = import_generator.default.default, clientTreeShakePlugin = () => ({
31
- name: "vxrn:client-tree-shake",
31
+ name: "one:client-tree-shake",
32
32
  enforce: "pre",
33
33
  applyToEnvironment(env) {
34
34
  return env.name === "client" || env.name === "ios" || env.name === "android";
@@ -29,7 +29,7 @@ __export(clientTreeShakePlugin_exports, {
29
29
  module.exports = __toCommonJS(clientTreeShakePlugin_exports);
30
30
  var import_generator = __toESM(require("@babel/generator"), 1), import_parser = require("@babel/parser"), import_traverse = __toESM(require("@babel/traverse"), 1), import_babel_dead_code_elimination = require("babel-dead-code-elimination"), import_constants = require("./constants"), traverse = import_traverse.default.default, generate = import_generator.default.default, clientTreeShakePlugin = function() {
31
31
  return {
32
- name: "vxrn:client-tree-shake",
32
+ name: "one:client-tree-shake",
33
33
  enforce: "pre",
34
34
  applyToEnvironment(env) {
35
35
  return env.name === "client" || env.name === "ios" || env.name === "android";
@@ -44,7 +44,7 @@ function createFileSystemRouter(options) {
44
44
  renderPromise = promise;
45
45
  try {
46
46
  const routeFile = (0, import_node_path.join)("app", route.file);
47
- console.log({ routeFile, url }), runner.clearCache(), globalThis.__vxrnresetState?.();
47
+ runner.clearCache(), globalThis.__vxrnresetState?.();
48
48
  const exported = routeFile === "" ? {} : await runner.import(routeFile), loaderData = await exported.loader?.(loaderProps);
49
49
  eval("process.env.TAMAGUI_IS_SERVER = '1'");
50
50
  const entry = await runner.import(import_virtualEntryPlugin.virtualEntryId), render = entry.default.render;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3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CAAC,QAAQ,OAAO,SAAS,QAAQ,EAAE,SAAS,IAAI,UAAU,EAAE,IAC9D,MAAM,WAAW,GAAG,IACpB;AAAA,IACJ;AAAA,EACF,CAAC;AACH;AAEA,SAAS,WAAW,QAAkD;AACpE,SAAO,IAAI,QAAQ,CAACI,UAAS,WAAW;AACtC,UAAM,SAAuB,CAAC;AAC9B,WAAO,GAAG,QAAQ,CAAC,UAAsB,OAAO,KAAK,KAAK,CAAC,GAC3D,OAAO,GAAG,OAAO,MAAMA,SAAQ,OAAO,OAAO,MAAM,CAAC,CAAC,GACrD,OAAO,GAAG,SAAS,MAAM;AAAA,EAC3B,CAAC;AACH;",
5
5
  "names": ["route", "url", "loaderProps", "routeFile", "loaderData", "resolve"]
6
6
  }
@@ -52,10 +52,7 @@ function createFileSystemRouter(options) {
52
52
  renderPromise = promise;
53
53
  try {
54
54
  var _globalThis___vxrnresetState, _globalThis, _exported_loader, routeFile = (0, import_node_path.join)("app", route.file);
55
- console.log({
56
- routeFile,
57
- url
58
- }), runner.clearCache(), (_globalThis___vxrnresetState = (_globalThis = globalThis).__vxrnresetState) === null || _globalThis___vxrnresetState === void 0 || _globalThis___vxrnresetState.call(_globalThis);
55
+ runner.clearCache(), (_globalThis___vxrnresetState = (_globalThis = globalThis).__vxrnresetState) === null || _globalThis___vxrnresetState === void 0 || _globalThis___vxrnresetState.call(_globalThis);
59
56
  var exported = routeFile === "" ? {} : await runner.import(routeFile), loaderData = await ((_exported_loader = exported.loader) === null || _exported_loader === void 0 ? void 0 : _exported_loader.call(exported, loaderProps));
60
57
  eval("process.env.TAMAGUI_IS_SERVER = '1'");
61
58
  var entry = await runner.import(import_virtualEntryPlugin.virtualEntryId), render = entry.default.render;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/Users/n8/vxrn/packages/one/src/vite/createFileSystemRouter.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,uBAAqB,sBACrB,0B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IAAIwD;AACP,UAAM,IAAI3G,MAAM,eAAe;AAGjC,MAAM4G,UAAU,UAAUzD,IAAIzD,QAAQ+D,IAAI,IACpCoD,YAAY1D,IAAIwD,eAAe,IAC/B/I,OAAM,IAAI4F,IAAIqD,WAAWD,OAAAA,GAEzBlH,UAAU,IAAIoH,QAAAA;AACpB,WAAW5B,OAAO/B,IAAIzD;AACpB,IAAIyD,IAAIzD,QAAQwF,GAAAA,KAAMxF,QAAQqH,OAAO7B,KAAK/B,IAAIzD,QAAQwF,GAAAA,CAAI;AAG5D,SAAO,IAAI8B,QAAQpJ,MAAK;IACtBqJ,QAAQ9D,IAAI8D;IACZnB,MAAM;MAAC;MAAQ;MAAO;MAAS;MAAUoB,SAAS/D,IAAI8D,UAAU,EAAA,IAC5D,MAAME,WAAWhE,GAAAA,IACjB;IACJzD;EACF,CAAA;AACF;AAEA,SAASyH,WAAWjB,QAA+B;AACjD,SAAO,IAAIkB,QAAQ,SAACjJ,UAASkJ,QAAAA;AAC3B,QAAMC,SAAuB,CAAA;AAC7BpB,WAAOqB,GAAG,QAAQ,SAACC,OAAAA;aAAsBF,OAAOG,KAAKD,KAAAA;QACrDtB,OAAOqB,GAAG,OAAO,WAAA;aAAMpJ,SAAQuJ,OAAOC,OAAOL,MAAAA,CAAAA;QAC7CpB,OAAOqB,GAAG,SAASF,MAAAA;EACrB,CAAA;AACF;",
5
- "names": ["USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "virtalEntryIdClient", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "createHandleRequest", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "promiseWithResolvers", "globalThis", "exported", "routeFile", "join", "log", "clearCache", "import", "loaderData", "loader", "eval", "entry", "virtualEntryId", "render", "default", "LoaderDataCache", "is404", "isNotFound", "html", "path", "Response", "status", "headers", "err", "error", "title", "pathname", "message", "Error", "stack", "handleLoader", "param", "request", "transformedJS", "transformRequest", "code", "replaceLoader", "platform", "searchParams", "get", "environment", "environments", "nativeTransformedJS", "JSON", "stringify", "handleAPI", "result", "resolveAPIRequest", "params", "name", "enforce", "apply", "config", "userConfig", "manifest", "pageRoutes", "routesAndLayouts", "Set", "flatMap", "layouts", "map", "layout", "contextKey", "optimizeDeps", "entries", "configureServer", "serverIn", "createServerModuleRunner", "ssr", "appDir", "process", "cwd", "fileWatcherChangeListener", "debounce", "startsWith", "watcher", "addListener", "middlewares", "use", "req", "res", "next", "redirects", "web", "URL", "host", "redirect", "regexStr", "source", "replace", "match", "RegExp", "destination", "forEach", "index", "warn", "writeHead", "permanent", "Location", "end", "reply", "handler", "convertIncomingMessageToRequest", "isResponse", "isStatusRedirect", "location", "statusCode", "statusMessage", "statusText", "value", "key", "cookies", "split", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "cookie", "appendHeader", "setHeader", "outString", "body", "locked", "streamToString", "write", "stream", "reader", "getReader", "decoder", "TextDecoder", "done", "read", "decode", "releaseLock", "originalUrl", "urlBase", "urlString", "Headers", "append", "Request", "method", "includes", "readStream", "Promise", "reject", "chunks", "on", "chunk", "push", "Buffer", "concat"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,uBAAqB,sBACrB,0BAAyB,6BAEzB,cAAyC,iBAEzC,6BAAoC,mCAEpC,oBAA2B,gCAC3B,kBAAiC,8BACjC,8BAAqC,0CACrC,mBAAgC,wBAChC,uBAA8B,4BAC9B,2BAAkC,gCAElC,4BAAoD;;;;;AAGpD,IAAMA,iBAAiB;AAAM;AAEtB,SAASC,uBAAuBC,SAA0B;AAG/D,MAAMC,WAAW;IAAC;IAAiBC;KAE/BC,QACAC,QAEAC,gBAAgBC,qBAAAA,GAEhBC,gBAAsC;AAE1C,WAASD,uBAAAA;AACP,eAAOE,gDAAoBR,SAAS;MAClC,MAAMS,UAAU,OAA2B;YAA3B,EAAEC,OAAOC,KAAKC,YAAW,IAAzB;AAGd,YAFAC,QAAQC,KAAK,aAAQJ,M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CAAA;AACF;AAEA,SAASyH,WAAWjB,QAA+B;AACjD,SAAO,IAAIkB,QAAQ,SAAChJ,UAASiJ,QAAAA;AAC3B,QAAMC,SAAuB,CAAA;AAC7BpB,WAAOqB,GAAG,QAAQ,SAACC,OAAAA;aAAsBF,OAAOG,KAAKD,KAAAA;QACrDtB,OAAOqB,GAAG,OAAO,WAAA;aAAMnJ,SAAQsJ,OAAOC,OAAOL,MAAAA,CAAAA;QAC7CpB,OAAOqB,GAAG,SAASF,MAAAA;EACrB,CAAA;AACF;",
5
+ "names": ["USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "virtalEntryIdClient", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "createHandleRequest", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "promiseWithResolvers", "globalThis", "exported", "routeFile", "join", "clearCache", "import", "loaderData", "loader", "eval", "entry", "virtualEntryId", "render", "default", "LoaderDataCache", "is404", "isNotFound", "html", "path", "Response", "status", "headers", "err", "error", "title", "pathname", "message", "Error", "stack", "handleLoader", "param", "request", "transformedJS", "transformRequest", "code", "replaceLoader", "platform", "searchParams", "get", "environment", "environments", "nativeTransformedJS", "JSON", "stringify", "handleAPI", "result", "resolveAPIRequest", "params", "name", "enforce", "apply", "config", "userConfig", "manifest", "pageRoutes", "routesAndLayouts", "Set", "flatMap", "layouts", "map", "layout", "contextKey", "optimizeDeps", "entries", "configureServer", "serverIn", "createServerModuleRunner", "ssr", "appDir", "process", "cwd", "fileWatcherChangeListener", "debounce", "startsWith", "watcher", "addListener", "middlewares", "use", "req", "res", "next", "redirects", "web", "URL", "host", "redirect", "regexStr", "source", "replace", "match", "RegExp", "destination", "forEach", "index", "warn", "writeHead", "permanent", "Location", "end", "reply", "handler", "convertIncomingMessageToRequest", "isResponse", "isStatusRedirect", "location", "statusCode", "statusMessage", "statusText", "value", "key", "cookies", "split", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "cookie", "appendHeader", "setHeader", "outString", "body", "locked", "streamToString", "write", "stream", "reader", "getReader", "decoder", "TextDecoder", "done", "read", "decode", "releaseLock", "originalUrl", "urlBase", "urlString", "Headers", "append", "Request", "method", "includes", "readStream", "Promise", "reject", "chunks", "on", "chunk", "push", "Buffer", "concat"]
6
6
  }
@@ -4,7 +4,7 @@ import BabelTraverse from "@babel/traverse";
4
4
  import { deadCodeElimination, findReferencedIdentifiers } from "babel-dead-code-elimination";
5
5
  import { EMPTY_LOADER_STRING } from "./constants";
6
6
  const traverse = BabelTraverse.default, generate = BabelGenerate.default, clientTreeShakePlugin = () => ({
7
- name: "vxrn:client-tree-shake",
7
+ name: "one:client-tree-shake",
8
8
  enforce: "pre",
9
9
  applyToEnvironment(env) {
10
10
  return env.name === "client" || env.name === "ios" || env.name === "android";
@@ -6,7 +6,7 @@ import { EMPTY_LOADER_STRING } from "./constants.mjs";
6
6
  const traverse = BabelTraverse.default,
7
7
  generate = BabelGenerate.default,
8
8
  clientTreeShakePlugin = () => ({
9
- name: "vxrn:client-tree-shake",
9
+ name: "one:client-tree-shake",
10
10
  enforce: "pre",
11
11
  applyToEnvironment(env) {
12
12
  return env.name === "client" || env.name === "ios" || env.name === "android";
@@ -7,7 +7,7 @@ var traverse = BabelTraverse.default,
7
7
  generate = BabelGenerate.default,
8
8
  clientTreeShakePlugin = function () {
9
9
  return {
10
- name: "vxrn:client-tree-shake",
10
+ name: "one:client-tree-shake",
11
11
  enforce: "pre",
12
12
  applyToEnvironment(env) {
13
13
  return env.name === "client" || env.name === "ios" || env.name === "android";
@@ -1 +1 @@
1
- {"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out","codeOut"],"sources":["../../../src/vite/clientTreeShakePlugin.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,aAAA,MAAmB;AAC1B,SAASC,KAAA,QAAa;AACtB,OAAOC,aAAA,MAAmB;AAC1B,SAASC,mBAAA,EAAqBC,yBAAA,QAAiC;AAE/D,SAASC,mBAAA,QAA2B;AAEpC,IAAAC,QAAM,GAAAJ,aAAW,CAAAK,OAAc;EAAAC,QACzB,GAAAR,aAAW,CAAAO,OAAc;EAAAE,qBAElB,YAAAA,CAAA,EACJ;IACL,OAAM;MAENC,IAAA,0BAAS;MAETC,OAAA;MACEC,kBAAWA,CAAAC,GAAS;QACtB,OAAAA,GAAA,CAAAH,IAAA,iBAAAG,GAAA,CAAAH,IAAA,cAAAG,GAAA,CAAAH,IAAA;MAEA;MACE,MAAII,SAAKA,CAAAC,IAAA,EAAYC,EAAA,EAAAC,QAAS;QAG9B,QAAO,CAAAC,WAAM,CAAAR,IAAA,YACf,aAAAS,wBAAA,CAAAJ,IAAA,EAAAC,EAAA;MACF;IAGF;EAGE;AACE,eAAAG,yBAAAJ,IAAA,EAAAC,EAAA;EAGF,KAAAA,EAAM,CAAAI,QAAM,eAAc,kCAAgC,CAAAC,IAAA,CAAAN,IAAc,GAAK;IAI3E,IAAAO,GAAA,GAAQrB,KAAA,CAAAc,IAAA;QACRQ,UAAA,UAAsB;QACxBC,OAAA,GAEA,YAAc,EACZ;MAEI;MAAAC,UAAU,GAAArB,yBAAqB,CAAAkB,GAAA;MAAAI,OAAA;QAC/BC,MAAA,EAAM;QACNC,oBAAqB;MAEK;IAIxBtB,QACE,CAAAgB,GAAA;MAGAO,sBAAMA,CAAAC,IAAc,EAAK;QACzB,IAAKA,IAAM,CAAAC,IAAA,CAAAC,WAAQ,IAAWF,IAC5B,CAAAC,IAAA,CAAAC,WAAY,CAAAC,IACZ,0BAA0B;UAE9B,KAAAH,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAhB,EAAA;UACD,IAAAkB,YAAA,GAAAJ,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAhB,EAAA,CAAAN,IAAA;UAEL,CAAAwB,YAAA,iBAAAA,YAAA,iCAAAJ,IAAA,CAAAK,MAAA,IAAAT,OAAA,CAAAQ,YAAA;QACD,OAAAJ,IAAA,CAAAC,IAAA,CAAAC,WAAA,IAAAF,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAC,IAAA,8BAAAH,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAI,YAAA,CAAAC,OAAA,WAAAC,UAAA,EAAAC,KAAA;UAEK,IAAAD,UAAA,CAAAtB,EAAmB,CAAAiB,IAAA,KAAO,YAAc,KAAAK,UAAgB,CAAAtB,EAAA,CAAAN,IAAQ,KAAI,YAAA4B,UAAA,CAAAtB,EAAA,CAAAN,IAAA;YAEtE,IAAAsB,WAAiB,GAAAF,IAAQ,CAAAU,GAAA,+BAAAD,KAAA;YAC3BE,KAAA,CAAAC,OAAoB,CAAAV,WAAK,MAAUA,WAAA,CAAAG,MAAA,IAAAT,OAAA,CAAAY,UAAA,CAAAtB,EAAA,CAAAN,IAAA;UAE7B;QAiBN;MACE;IAbA;IAAA,IAAAiC,gBAAA,GAAAC,MAAA,CAAAC,IAAA,CAAAnB,OAAA,EAAAoB,MAAA,WAAAC,GAAA;MAEA,OAAArB,OAAA,CAAAqB,GACG;IAOS;IAAA,IAIZJ,gBAAS,CAAAK,MAAA;MACX7C,mBAAA,CAAAmB,GAAA,EAAAG,UAAA;MACF,IAAAwB,GAAA,GAAAzC,QAAA,CAAAc,GAAA;QAAA4B,OAAA,GAAAD,GAAA,CAAAlC,IAAA;AACF","ignoreList":[]}
1
+ {"version":3,"names":["BabelGenerate","parse","BabelTraverse","deadCodeElimination","findReferencedIdentifiers","EMPTY_LOADER_STRING","traverse","default","generate","clientTreeShakePlugin","name","enforce","applyToEnvironment","env","transform","code","id","settings","environment","transformTreeShakeClient","includes","test","ast","sourceType","plugins","referenced","removed","loader","generateStaticParams","ExportNamedDeclaration","path","node","declaration","type","functionName","remove","declarations","forEach","declarator","index","get","Array","isArray","removedFunctions","Object","keys","filter","key","length","out","codeOut"],"sources":["../../../src/vite/clientTreeShakePlugin.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,aAAA,MAAmB;AAC1B,SAASC,KAAA,QAAa;AACtB,OAAOC,aAAA,MAAmB;AAC1B,SAASC,mBAAA,EAAqBC,yBAAA,QAAiC;AAE/D,SAASC,mBAAA,QAA2B;AAEpC,IAAAC,QAAM,GAAAJ,aAAW,CAAAK,OAAc;EAAAC,QACzB,GAAAR,aAAW,CAAAO,OAAc;EAAAE,qBAElB,YAAAA,CAAA,EACJ;IACL,OAAM;MAENC,IAAA,yBAAS;MAETC,OAAA;MACEC,kBAAWA,CAAAC,GAAS;QACtB,OAAAA,GAAA,CAAAH,IAAA,iBAAAG,GAAA,CAAAH,IAAA,cAAAG,GAAA,CAAAH,IAAA;MAEA;MACE,MAAII,SAAKA,CAAAC,IAAA,EAAYC,EAAA,EAAAC,QAAS;QAG9B,QAAO,CAAAC,WAAM,CAAAR,IAAA,YACf,aAAAS,wBAAA,CAAAJ,IAAA,EAAAC,EAAA;MACF;IAGF;EAGE;AACE,eAAAG,yBAAAJ,IAAA,EAAAC,EAAA;EAGF,KAAAA,EAAM,CAAAI,QAAM,eAAc,kCAAgC,CAAAC,IAAA,CAAAN,IAAc,GAAK;IAI3E,IAAAO,GAAA,GAAQrB,KAAA,CAAAc,IAAA;QACRQ,UAAA,UAAsB;QACxBC,OAAA,GAEA,YAAc,EACZ;MAEI;MAAAC,UAAU,GAAArB,yBAAqB,CAAAkB,GAAA;MAAAI,OAAA;QAC/BC,MAAA,EAAM;QACNC,oBAAqB;MAEK;IAIxBtB,QACE,CAAAgB,GAAA;MAGAO,sBAAMA,CAAAC,IAAc,EAAK;QACzB,IAAKA,IAAM,CAAAC,IAAA,CAAAC,WAAQ,IAAWF,IAC5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const routeFile = join("app", route.file);
38
- console.log({ routeFile, url }), runner.clearCache(), globalThis.__vxrnresetState?.();
38
+ runner.clearCache(), globalThis.__vxrnresetState?.();
39
39
  const exported = routeFile === "" ? {} : await runner.import(routeFile), loaderData = await exported.loader?.(loaderProps);
40
40
  eval("process.env.TAMAGUI_IS_SERVER = '1'");
41
41
  const entry = await runner.import(virtualEntryId), render = entry.default.render;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/createFileSystemRouter.tsx"],
4
- "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAEzB,SAAS,gCAAgC;AAEzC,SAAS,2BAA2B;AAEpC,SAAS,kBAAkB;AAC3B,SAAS,wBAAwB;AACjC,SAAS,4BAA4B;AACrC,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAElC,SAAS,qBAAqB,sBAAsB;AAGpD,MAAM,iBAAiB;AAAM;AAEtB,SAAS,uBAAuB,SAAoC;AAGzE,QAAM,WAAW,CAAC,iBAAiB,mBAAmB;AAEtD,MAAI,QACA,QAEA,gBAAgB,qBAAqB,GAErC,gBAAsC;AAE1C,WAAS,uBAAuB;AAC9B,WAAO,oBAAoB,SAAS;AAAA,MAClC,MAAM,UAAU,EAAE,OAAO,KAAK,YAAY,GAAG;AAG3C,YAFA,QAAQ,KAAK,aAAQ,MAAM,IAAI,KAAK,GAAG,gBAAgB,MAAM,IAAI,EAAE,GAE/D,MAAM,SAAS;AAEjB,iBAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcT,QAAI,iBACF,MAAM;AAGR,cAAM,EAAE,SAAS,QAAQ,IAAI,qBAA2B;AACxD,wBAAgB;AAEhB,YAAI;AACF,gBAAM,YAAY,KAAK,OAAO,MAAM,IAAI;AACxC,kBAAQ,IAAI,EAAE,WAAW,IAAI,CAAC,GAC9B,OAAO,WAAW,GAElB,W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AI,QAAQ,IAAI,IACpC,YAAY,IAAI,eAAe,IAC/BA,OAAM,IAAI,IAAI,WAAW,OAAO,GAEhC,UAAU,IAAI,QAAQ;AAC5B,aAAW,OAAO,IAAI;AACpB,IAAI,IAAI,QAAQ,GAAG,KAAG,QAAQ,OAAO,KAAK,IAAI,QAAQ,GAAG,CAAW;AAGtE,SAAO,IAAI,QAAQA,MAAK;AAAA,IACtB,QAAQ,IAAI;AAAA,IACZ,MAAM,CAAC,QAAQ,OAAO,SAAS,QAAQ,EAAE,SAAS,IAAI,UAAU,EAAE,IAC9D,MAAM,WAAW,GAAG,IACpB;AAAA,IACJ;AAAA,EACF,CAAC;AACH;AAEA,SAAS,WAAW,QAAkD;AACpE,SAAO,IAAI,QAAQ,CAACI,UAAS,WAAW;AACtC,UAAM,SAAuB,CAAC;AAC9B,WAAO,GAAG,QAAQ,CAAC,UAAsB,OAAO,KAAK,KAAK,CAAC,GAC3D,OAAO,GAAG,OAAO,MAAMA,SAAQ,OAAO,OAAO,MAAM,CAAC,CAAC,GACrD,OAAO,GAAG,SAAS,MAAM;AAAA,EAC3B,CAAC;AACH;",
5
5
  "names": ["route", "url", "loaderProps", "routeFile", "loaderData", "resolve"]
6
6
  }
@@ -44,10 +44,7 @@ function createFileSystemRouter(options) {
44
44
  renderPromise = promise;
45
45
  try {
46
46
  const routeFile = join("app", route.file);
47
- console.log({
48
- routeFile,
49
- url
50
- }), runner.clearCache(), globalThis.__vxrnresetState?.();
47
+ runner.clearCache(), globalThis.__vxrnresetState?.();
51
48
  const exported = routeFile === "" ? {} : await runner.import(routeFile),
52
49
  loaderData = await exported.loader?.(loaderProps);
53
50
  eval("process.env.TAMAGUI_IS_SERVER = '1'");
@@ -1 +1 @@
1
- {"version":3,"names":["join","debounce","createServerModuleRunner","createHandleRequest","isResponse","isStatusRedirect","promiseWithResolvers","LoaderDataCache","replaceLoader","resolveAPIRequest","virtalEntryIdClient","virtualEntryId","USE_SERVER_ENV","createFileSystemRouter","options","preloads","runner","server","handleRequest","createRequestHandler","renderPromise","handleSSR","route","url","loaderProps","console","info","type","file","promise","resolve","routeFile","log","clearCache","globalThis","__vxrnresetState","exported","import","loaderData","loader","eval","entry","render","default","__vxrnLoaderData__","__vxrnLoaderProps__","is404","isNotFound","html","path","Response","status","headers","err","error","title","pathname","message","Error","stack","handleLoader","request","route2","url2","loaderProps2","routeFile2","transformedJS","transformRequest","code","loaderData2","platform","searchParams","get","environments","JSON","stringify","handleAPI","params","name","enforce","apply","config","userConfig","manifest","pageRoutes","optimizeDeps","entries","Set","flatMap","layouts","map","layout","contextKey","configureServer","serverIn","ssr","appDir","process","cwd","fileWatcherChangeListener","startsWith","watcher","addListener","middlewares","use","req","res","next","redirects","web","URL","host","redirect","regexStr","source","replace","match","RegExp","destination","forEach","param","index","warn","writeHead","permanent","Location","end","reply","handler","convertIncomingMessageToRequest","location","statusCode","statusMessage","statusText","value","key","cookies","split","cookie","appendHeader","setHeader","outString","body","locked","streamToString","write","stream","reader","getReader","decoder","TextDecoder","result","done","read","decode","releaseLock","originalUrl","urlBase","urlString","Headers","append","Request","method","includes","readStream","Promise","resolve2","reject","chunks","on","chunk","push","Buffer","concat"],"sources":["../../../src/vite/createFileSystemRouter.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,QAAY;AACrB,SAASC,QAAA,QAAgB;AAEzB,SAASC,wBAAA,QAAgC;AAEzC,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,oBAAA,QAA4B;AACrC,SAASC,eAAA,QAAuB;AAChC,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SAASC,mBAAA,EAAqBC,cAAA,QAAsB;AAGpD,MAAMC,cAAA,GAAiB;AAAM;AAEtB,SAASC,uBAAuBC,OAAA,EAAoC;EAGzE,MAAMC,QAAA,GAAW,CAAC,iBAAiBL,mBAAmB;EAEtD,IAAIM,MAAA;IAC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AAA,CAAQmF,GAAG,CAAW;EAGtE,OAAO,IAAI0B,OAAA,CAAQlG,IAAA,EAAK;IACtBmG,MAAA,EAAQzD,GAAA,CAAIyD,MAAA;IACZpB,IAAA,EAAM,CAAC,QAAQ,OAAO,SAAS,QAAQ,EAAEqB,QAAA,CAAS1D,GAAA,CAAIyD,MAAA,IAAU,EAAE,IAC9D,MAAME,UAAA,CAAW3D,GAAG,IACpB;IACJrD;EACF,CAAC;AACH;AAEA,SAASgH,WAAWlB,MAAA,EAAkD;EACpE,OAAO,IAAImB,OAAA,CAAQ,CAACC,QAAA,EAASC,MAAA,KAAW;IACtC,MAAMC,MAAA,GAAuB,EAAC;IAC9BtB,MAAA,CAAOuB,EAAA,CAAG,QAASC,KAAA,IAAsBF,MAAA,CAAOG,IAAA,CAAKD,KAAK,CAAC,GAC3DxB,MAAA,CAAOuB,EAAA,CAAG,OAAO,MAAMH,QAAA,CAAQM,MAAA,CAAOC,MAAA,CAAOL,MAAM,CAAC,CAAC,GACrDtB,MAAA,CAAOuB,EAAA,CAAG,SAASF,MAAM;EAC3B,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["join","debounce","createServerModuleRunner","createHandleRequest","isResponse","isStatusRedirect","promiseWithResolvers","LoaderDataCache","replaceLoader","resolveAPIRequest","virtalEntryIdClient","virtualEntryId","USE_SERVER_ENV","createFileSystemRouter","options","preloads","runner","server","handleRequest","createRequestHandler","renderPromise","handleSSR","route","url","loaderProps","console","info","type","file","promise","resolve","routeFile","clearCache","globalThis","__vxrnresetState","exported","import","loaderData","loader","eval","entry","render","default","__vxrnLoaderData__","__vxrnLoaderProps__","is404","isNotFound","html","path","Response","status","headers","err","error","title","pathname","message","Error","stack","handleLoader","request","route2","url2","loaderProps2","routeFile2","transformedJS","transformRequest","code","loaderData2","platform","searchParams","get","environments","JSON","stringify","handleAPI","params","name","enforce","apply","config","userConfig","manifest","pageRoutes","optimizeDeps","entries","Set","flatMap","layouts","map","layout","contextKey","configureServer","serverIn","ssr","appDir","process","cwd","fileWatcherChangeListener","startsWith","watcher","addListener","middlewares","use","req","res","next","redirects","web","URL","host","redirect","regexStr","source","replace","match","RegExp","destination","forEach","param","index","warn","writeHead","permanent","Location","end","reply","handler","convertIncomingMessageToRequest","location","statusCode","statusMessage","statusText","value","key","cookies","split","cookie","appendHeader","setHeader","outString","body","locked","streamToString","write","stream","reader","getReader","decoder","TextDecoder","result","done","read","decode","releaseLock","originalUrl","urlBase","urlString","Headers","append","Request","method","includes","readStream","Promise","resolve2","reject","chunks","on","chunk","push","Buffer","concat"],"sources":["../../../src/vite/createFileSystemRouter.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,QAAY;AACrB,SAASC,QAAA,QAAgB;AAEzB,SAASC,wBAAA,QAAgC;AAEzC,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,oBAAA,QAA4B;AACrC,SAASC,eAAA,QAAuB;AAChC,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SAASC,mBAAA,EAAqBC,cAAA,QAAsB;AAGpD,MAAMC,cAAA,GAAiB;AAAM;AAEtB,SAASC,uBAAuBC,OAAA,EAAoC;EAGzE,MAAMC,QAAA,GAAW,CAAC,iBAAiBL,mBAAmB;EAEtD,IAAIM,MAAA;IACAC,MAAA;IAEAC,aAAA,GAAgBC,oBAAA,CAAqB;IAErCC,aAAA,GAAsC;EAE1C,SAASD,qBAAA,EAAuB;IAC9B,OAAOhB,mBAAA,CAAoBW,OAAA,EAAS;MAClC,MAAMO,UAAU;QAAEC,KAAA;QAAOC,GAAA;QAAKC;MAAY,GAAG;QAG3C,IAFAC,OAAA,CAAQC,IAAA,CAAK,aAAQJ,KAAA,CAAMK,IAAI,KAAKJ,GAAG,gBAAgBD,KAAA,CAAMM,IAAI,EAAE,GAE/DN,KAAA,CAAMK,IAAA,KAAS,OAEjB,OAAO;AAAA;AAAA;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B,EAAA,CAAG,QAASC,KAAA,IAAsBF,MAAA,CAAOG,IAAA,CAAKD,KAAK,CAAC,GAC3DxB,MAAA,CAAOuB,EAAA,CAAG,OAAO,MAAMH,QAAA,CAAQM,MAAA,CAAOC,MAAA,CAAOL,MAAM,CAAC,CAAC,GACrDtB,MAAA,CAAOuB,EAAA,CAAG,SAASF,MAAM;EAC3B,CAAC;AACH","ignoreList":[]}
@@ -53,10 +53,7 @@ function createFileSystemRouter(options) {
53
53
  _globalThis,
54
54
  _exported_loader,
55
55
  routeFile = join("app", route.file);
56
- console.log({
57
- routeFile,
58
- url
59
- }), runner.clearCache(), (_globalThis___vxrnresetState = (_globalThis = globalThis).__vxrnresetState) === null || _globalThis___vxrnresetState === void 0 || _globalThis___vxrnresetState.call(_globalThis);
56
+ runner.clearCache(), (_globalThis___vxrnresetState = (_globalThis = globalThis).__vxrnresetState) === null || _globalThis___vxrnresetState === void 0 || _globalThis___vxrnresetState.call(_globalThis);
60
57
  var exported = routeFile === "" ? {} : await runner.import(routeFile),
61
58
  loaderData = await ((_exported_loader = exported.loader) === null || _exported_loader === void 0 ? void 0 : _exported_loader.call(exported, loaderProps));
62
59
  eval("process.env.TAMAGUI_IS_SERVER = '1'");
@@ -1 +1 @@
1
- {"version":3,"names":["join","debounce","createServerModuleRunner","createHandleRequest","isResponse","isStatusRedirect","promiseWithResolvers","LoaderDataCache","replaceLoader","resolveAPIRequest","virtalEntryIdClient","virtualEntryId","_type_of","obj","Symbol","constructor","USE_SERVER_ENV","createFileSystemRouter","options","preloads","runner","server","handleRequest","createRequestHandler","renderPromise","handleSSR","param","route","url","loaderProps","console","info","type","file","promise","resolve","_globalThis___vxrnresetState","_globalThis","_exported_loader","routeFile","log","clearCache","globalThis","__vxrnresetState","call","exported","import","loaderData","loader","eval","entry","render","default","__vxrnLoaderData__","__vxrnLoaderProps__","is404","isNotFound","html","path","Response","status","headers","err","error","title","pathname","message","Error","stack","handleLoader","param2","request","route2","url2","loaderProps2","_this","_exported_loader2","routeFile2","transformedJS","transformRequest","code","exported2","loaderData2","platform","searchParams","get","environment","environments","nativeTransformedJS","JSON","stringify","handleAPI","result","params","name","enforce","apply","config","userConfig","manifest","pageRoutes","routesAndLayouts","Set","flatMap","_route_layouts","layouts","map","layout","contextKey","optimizeDeps","entries","configureServer","serverIn","ssr","appDir","process","cwd","fileWatcherChangeListener","startsWith","watcher","addListener","middlewares","use","req","res","next","_options_web","redirects","web","URL","host","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","redirect","_step","value","regexStr","source","replace","match","RegExp","destination","forEach","index","warn","writeHead","permanent","Location","end","v","_iterator","iterator","done","_ret","return","reply","handler","convertIncomingMessageToRequest","location"],"sources":["../../../src/vite/createFileSystemRouter.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,QAAY;AACrB,SAASC,QAAA,QAAgB;AAEzB,SAASC,wBAAA,QAAgC;AAEzC,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,oBAAA,QAA4B;AACrC,SAASC,eAAA,QAAuB;AAChC,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SAASC,mBAAA,EAAqBC,cAAA,QAAsB;AAGpD,SAAMC,SAAAC,GAAA,EAAiB;EAAM;;EAEtB,OAASA,GAAA,WAAAC,MAAA,GAAuB,OAAAD,GAAoC,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAGzE;AAEA,IAAAG,cACI,IAEA;AAIJ;AACE,SAAAC,sBAA2BA,CAAAC,OAAA,EAAS;EAAA,IAClCC,QAAM,IAGJ,eAFA,EAIET,mBAAO;IAAAU,MAAA;IAAAC,MAAA;IAAAC,aAAA,GAAAC,oBAAA;IAAAC,aAAA;EAAA,SAAAD,qBAAA;IAAA,OAAApB,mBAAA,CAAAe,OAAA;MAAA,MAAAO,UAAAC,KAAA;QAAA;UAAAC,KAAA;UAAAC,GAA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MAAA;gBACT;kBAEM,IAAAxB,iBAAA,EACK,MAAAC,cAAA;gBACG;cAGN;YAKN;YACU,IAAQwB,KAAG,GAAG,MAAAvI,aAAe,CAAKwI,OAAI,OAAQC,+BAAc,CAAApC,GAAA;YAG/D,IAAI,CAAAkC,KAAQ,EACT,OAAIhC,IAAA;YACL,WAAQgC,KAAO,YAAS,IAAQzJ,UAAW,CAAAyJ,KAAI;cAGtD,IAAAxJ,gBAAA,CAAAwJ,KAAA,CAAAjG,MAAA;gBACD,IAAAoG,QAAA,MAAAH,KAAA,CAAAhG,OAAA,CAAAwB,GAAA;gBACH,IAAAvD,OAAA,CAAAC,IAAA,qBAAAiI,QAAA,KAAAA,QAAA;kBAESpC,GAAW,CAAAuB,SAAkD,CAAAU,KAAA,CAAAjG,MAAA;oBACzDyF,QAAS,EAAAW;kBACZ,CAAuB,CAAC,EAAApC,GAAA,CAAA0B,GAAA;kBACpB;gBAGX;gBACHxH,OAAA,CAAAiC,KAAA,oDAAA8F,KAAA","ignoreList":[]}
1
+ {"version":3,"names":["join","debounce","createServerModuleRunner","createHandleRequest","isResponse","isStatusRedirect","promiseWithResolvers","LoaderDataCache","replaceLoader","resolveAPIRequest","virtalEntryIdClient","virtualEntryId","_type_of","obj","Symbol","constructor","USE_SERVER_ENV","createFileSystemRouter","options","preloads","runner","server","handleRequest","createRequestHandler","renderPromise","handleSSR","param","route","url","loaderProps","console","info","type","file","promise","resolve","_globalThis___vxrnresetState","_globalThis","_exported_loader","routeFile","clearCache","globalThis","__vxrnresetState","call","exported","import","loaderData","loader","eval","entry","render","default","__vxrnLoaderData__","__vxrnLoaderProps__","is404","isNotFound","html","path","Response","status","headers","err","error","title","pathname","message","Error","stack","handleLoader","param2","request","route2","url2","loaderProps2","_this","_exported_loader2","routeFile2","transformedJS","transformRequest","code","exported2","loaderData2","platform","searchParams","get","environment","environments","nativeTransformedJS","JSON","stringify","handleAPI","result","params","name","enforce","apply","config","userConfig","manifest","pageRoutes","routesAndLayouts","Set","flatMap","_route_layouts","layouts","map","layout","contextKey","optimizeDeps","entries","configureServer","serverIn","ssr","appDir","process","cwd","fileWatcherChangeListener","startsWith","watcher","addListener","middlewares","use","req","res","next","_options_web","redirects","web","URL","host","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","redirect","_step","value","regexStr","source","replace","match","RegExp","destination","forEach","index","warn","writeHead","permanent","Location","end","v","_iterator","iterator","done","_ret","return","reply","handler","convertIncomingMessageToRequest","location","statusCode","statusMessage","statusText","key"],"sources":["../../../src/vite/createFileSystemRouter.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,QAAY;AACrB,SAASC,QAAA,QAAgB;AAEzB,SAASC,wBAAA,QAAgC;AAEzC,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,oBAAA,QAA4B;AACrC,SAASC,eAAA,QAAuB;AAChC,SAASC,aAAA,QAAqB;AAC9B,SAASC,iBAAA,QAAyB;AAElC,SAASC,mBAAA,EAAqBC,cAAA,QAAsB;AAGpD,SAAMC,SAAAC,GAAA,EAAiB;EAAM;;EAEtB,OAASA,GAAA,WAAAC,MAAA,GAAuB,OAAAD,GAAoC,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAGzE;AAEA,IAAAG,cACI,IAEA;AAIJ;AACE,SAAAC,sBAA2BA,CAAAC,OAAA,EAAS;EAAA,IAClCC,QAAM,IAGJ,eAFA,EAIET,mBAAO;IAAAU,MAAA;IAAAC,MAAA;IAAAC,aAAA,GAAAC,oBAAA;IAAAC,aAAA;EAAA,SAAAD,qBAAA;IAAA,OAAApB,mBAAA,CAAAe,OAAA;MAAA,MAAAO,UAAAC,KAAA;QAAA;UAAAC,KAAA;UAAAC,GAAA;UAAAC;QAAA,IAAAH,KAAA;QAAA,IAAAI,OAAA,CAAAC,IAAA,cAAAJ,KAAA,CAAAK,IAAA,KAAAJ,GAAA,gBAAAD,KAAA,C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I;YACZ,IAAQ,OAAGgC,KAAG,IAAQ,QAAO,IAAKxJ,UAAI,CAAAwJ,KAAsB;cAG3D,IAAAvJ,gBAAa,CAAAuJ,KAAA,CAAAjG,MAAA;gBACV,IAAAoG,QAAA,MAAAH,KAAA,CAAAhG,OAAA,CAAAwB,GAAA;gBACL,IAAQtD,OAAO,CAAAC,IAAA,qBAAmBgI,QAAa,KAAAA,QAClD;kBAEJpC,GAAA,CAAAuB,SAAA,CAAAU,KAAA,CAAAjG,MAAA;oBACDyF,QAAA,EAAAW;kBACH,IAAApC,GAAA,CAAA0B,GAAA;kBAES;gBACI;gBACHvH,OAAwB,CAAAgC,KAAA,oDAAA8F,KAAA;cACpB;cAGXjC,GAAA,CAAAqC,UAAA,GAAAJ,KAAA,CAAAjG,MAAA,EAAAgE,GAAA,CAAAsC,aAAA,GAAAL,KAAA,CAAAM,UAAA,EAAAN,KAAA,CAAAhG,OAAA,CAAAmF,OAAA,WAAAP,KAAA,EAAA2B,GAAA;gBACH,IAAAA,GAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "1.1.271",
3
+ "version": "1.1.273",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "sideEffects": false,
@@ -8,9 +8,7 @@
8
8
  "license": "MIT",
9
9
  "main": "dist/cjs",
10
10
  "module": "dist/esm",
11
- "bin": {
12
- "one": "run.mjs"
13
- },
11
+ "bin": "run.mjs",
14
12
  "files": [
15
13
  "src",
16
14
  "types",
@@ -91,12 +89,12 @@
91
89
  "@react-navigation/native-stack": "~6.9.13",
92
90
  "@react-navigation/routers": "~6.1.9",
93
91
  "@ungap/structured-clone": "^1.2.0",
94
- "@vxrn/universal-color-scheme": "1.1.271",
95
- "@vxrn/use-isomorphic-layout-effect": "1.1.271",
92
+ "@vxrn/universal-color-scheme": "1.1.273",
93
+ "@vxrn/use-isomorphic-layout-effect": "1.1.273",
96
94
  "babel-dead-code-elimination": "^1.0.6",
97
95
  "citty": "^0.1.6",
98
96
  "core-js": "^3.38.1",
99
- "create-vxrn": "1.1.271",
97
+ "create-vxrn": "1.1.273",
100
98
  "dotenv": "^16.4.5",
101
99
  "escape-string-regexp": "^5.0.0",
102
100
  "expo-linking": "~6.3.1",
@@ -118,7 +116,7 @@
118
116
  "url-parse": "^1.5.10",
119
117
  "vite": "6.0.0-beta.1",
120
118
  "vite-tsconfig-paths": "^5.0.1",
121
- "vxrn": "1.1.271",
119
+ "vxrn": "1.1.273",
122
120
  "ws": "^8.18.0",
123
121
  "xxhashjs": "^0.2.2"
124
122
  },
@@ -10,7 +10,7 @@ const generate = BabelGenerate['default'] as any as typeof BabelGenerate
10
10
 
11
11
  export const clientTreeShakePlugin = (): Plugin => {
12
12
  return {
13
- name: 'vxrn:client-tree-shake',
13
+ name: 'one:client-tree-shake',
14
14
 
15
15
  enforce: 'pre',
16
16
 
@@ -59,7 +59,6 @@ export function createFileSystemRouter(options: One.PluginOptions): Plugin {
59
59
 
60
60
  try {
61
61
  const routeFile = join('app', route.file)
62
- console.log({ routeFile, url })
63
62
  runner.clearCache()
64
63
 
65
64
  globalThis['__vxrnresetState']?.()
@@ -1 +1 @@
1
- {"version":3,"file":"createFileSystemRouter.d.ts","sourceRoot":"","sources":["../../src/vite/createFileSystemRouter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,MAAM,EAAiB,MAAM,MAAM,CAAA;AAW1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAMlC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,GAAG,CAAC,aAAa,GAAG,MAAM,CAyWzE"}
1
+ {"version":3,"file":"createFileSystemRouter.d.ts","sourceRoot":"","sources":["../../src/vite/createFileSystemRouter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,MAAM,EAAiB,MAAM,MAAM,CAAA;AAW1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAMlC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,GAAG,CAAC,aAAa,GAAG,MAAM,CAwWzE"}