one 1.1.269 → 1.1.270
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/cli.js +2 -2
- package/dist/cjs/cli.js.map +1 -1
- package/dist/cjs/cli.native.js +2 -2
- package/dist/cjs/cli.native.js.map +2 -2
- package/dist/cjs/serve.js +1 -1
- package/dist/cjs/serve.js.map +1 -1
- package/dist/cjs/serve.native.js +1 -1
- package/dist/cjs/serve.native.js.map +2 -2
- package/dist/cjs/server/createRoutesManifest.js.map +1 -1
- package/dist/cjs/server/createRoutesManifest.native.js.map +1 -1
- package/dist/cjs/vite/build.js +8 -1
- package/dist/cjs/vite/build.js.map +1 -1
- package/dist/cjs/vite/build.native.js +13 -3
- package/dist/cjs/vite/build.native.js.map +2 -2
- package/dist/cjs/vite/createFileSystemRouter.js +7 -3
- package/dist/cjs/vite/createFileSystemRouter.js.map +1 -1
- package/dist/cjs/vite/createFileSystemRouter.native.js +12 -3
- package/dist/cjs/vite/createFileSystemRouter.native.js.map +2 -2
- package/dist/cjs/vite/one.js +11 -1
- package/dist/cjs/vite/one.js.map +2 -2
- package/dist/cjs/vite/one.native.js +14 -1
- package/dist/cjs/vite/one.native.js.map +2 -2
- package/dist/cjs/vite/types.native.js.map +1 -1
- package/dist/esm/cli.js +2 -2
- package/dist/esm/cli.js.map +1 -1
- package/dist/esm/cli.mjs +2 -2
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/cli.native.js +2 -2
- package/dist/esm/cli.native.js.map +1 -1
- package/dist/esm/serve.js +1 -1
- package/dist/esm/serve.js.map +1 -1
- package/dist/esm/serve.mjs +1 -1
- package/dist/esm/serve.mjs.map +1 -1
- package/dist/esm/serve.native.js +1 -1
- package/dist/esm/serve.native.js.map +1 -1
- package/dist/esm/server/createRoutesManifest.js.map +1 -1
- package/dist/esm/server/createRoutesManifest.mjs.map +1 -1
- package/dist/esm/server/createRoutesManifest.native.js.map +1 -1
- package/dist/esm/vite/build.js +8 -1
- package/dist/esm/vite/build.js.map +1 -1
- package/dist/esm/vite/build.mjs +8 -1
- package/dist/esm/vite/build.mjs.map +1 -1
- package/dist/esm/vite/build.native.js +12 -2
- package/dist/esm/vite/build.native.js.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.js +7 -3
- package/dist/esm/vite/createFileSystemRouter.js.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.mjs +18 -8
- package/dist/esm/vite/createFileSystemRouter.mjs.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.native.js +18 -8
- package/dist/esm/vite/createFileSystemRouter.native.js.map +1 -1
- package/dist/esm/vite/one.js +11 -1
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs +15 -1
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +19 -1
- package/dist/esm/vite/one.native.js.map +1 -1
- package/package.json +8 -7
- package/src/cli.ts +2 -3
- package/src/serve.ts +1 -1
- package/src/server/createRoutesManifest.ts +1 -0
- package/src/vite/build.ts +11 -1
- package/src/vite/createFileSystemRouter.tsx +11 -4
- package/src/vite/one.ts +25 -1
- package/src/vite/types.ts +33 -20
- package/types/serve.d.ts.map +1 -1
- package/types/server/createRoutesManifest.d.ts +1 -0
- package/types/server/createRoutesManifest.d.ts.map +1 -1
- package/types/vite/build.d.ts.map +1 -1
- package/types/vite/createFileSystemRouter.d.ts.map +1 -1
- package/types/vite/one.d.ts.map +1 -1
- package/types/vite/types.d.ts +30 -17
- package/types/vite/types.d.ts.map +1 -1
package/dist/cjs/vite/one.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAmB,oCACnB,
|
5
|
-
"names": ["events", "tsconfigPaths"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA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GAEhC;AAClB,gBAAM,mBAAe,8BAAQ,0BAAQ,QAAQ,GAAG,EAAE,GAC5C,UAAU,aAAa,QAAQ,WAAW,EAAE,IAAI;AACtD,cAAI,YAAY,GAAI;AACpB,cAAI;AACF,kBAAM,gBAAgB,eAAe;AACrC,gBAAI,UAAM,gCAAY,aAAa;AACjC,qBAAO;AAET,gBAAI,UAAM,gCAAY,OAAO;AAC3B,qBAAO;AAAA,UAEX,SAAS,KAAK;AACZ,oBAAQ,KAAK,uBAAuB,GAAG;AAAA,UACzC;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,QAEA,0CAAiB;AAAA,MACf,SAAS,CAAC,wCAAc;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;AAEA,IAAI,aAAuC;AAE3C,eAAe,kBAAkB,SAA6B;AAC5D,MAAI,CAAC,YAAY;AACf,QAAI,CAAC,QAAS,OAAM,IAAI,MAAM,yCAAyC;AACvE,UAAM,mBAAmB,OAAO;AAAA,EAClC;AACA,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,uBAAuB;AAEzC,SAAO;AACT;AAEA,eAAsB,mBAAmB,SAA4B;AAKnE,MAAI,CAJU,UAAM,gCAAmB;AAAA,IACrC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AAEC,UAAM,IAAI,MAAM,iBAAiB;AAEnC,QAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,+BAA+B;AAEjD,SAAO;AACT;",
|
5
|
+
"names": ["events", "tsconfigPaths", "path"]
|
6
6
|
}
|
@@ -27,8 +27,9 @@ __export(one_exports, {
|
|
27
27
|
one: () => one
|
28
28
|
});
|
29
29
|
module.exports = __toCommonJS(one_exports);
|
30
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = require("node:path"), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_requireResolve = require("../utils/requireResolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
30
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_requireResolve = require("../utils/requireResolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
31
31
|
import_node_events.default.setMaxListeners(1e3);
|
32
|
+
globalThis.__vxrnEnableNativeEnv = !0;
|
32
33
|
function one() {
|
33
34
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _options_config;
|
34
35
|
oneOptions = options, (0, import_loadEnv.loadEnv)(process.cwd()), ((_options_config = options.config) === null || _options_config === void 0 ? void 0 : _options_config.ensureTSConfig) !== !1 && (0, import_ensureTsConfig.ensureTSConfig)(), globalThis.__vxrnPluginConfig__ = options;
|
@@ -115,6 +116,18 @@ function one() {
|
|
115
116
|
}
|
116
117
|
};
|
117
118
|
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
name: "route-module-hmr-fix",
|
122
|
+
hotUpdate(param) {
|
123
|
+
var { server, modules } = param;
|
124
|
+
return modules.map(function(m) {
|
125
|
+
var { id } = m;
|
126
|
+
if (!id) return m;
|
127
|
+
var relativePath = import_node_path.default.relative(server.config.root, id), rootDir = relativePath.split(import_node_path.default.sep)[0];
|
128
|
+
return rootDir === "app" && (m.acceptedHmrExports = /* @__PURE__ */ new Set()), m;
|
129
|
+
});
|
130
|
+
}
|
118
131
|
}
|
119
132
|
];
|
120
133
|
return globalThis.__vxrnAddNativePlugins = [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/vxrn/packages/one/src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,
|
5
|
-
"names": ["events", "setMaxListeners", "one", "options", "oneOptions", "loadEnv", "process", "cwd", "config", "ensureTSConfig", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,wBAA+B,oCAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,wBAA+B,6BAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,iBAAwB,sBAExB,4BAAmD,iCACnD,0BAAiC;AAEjCA,mBAAAA,QAAOC,gBAAgB,GAAA;AAGvBC,WAAWC,wBAAwB;AAE5B,SAASC,MAAAA;MAAIC,UAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA6B,CAAC,GAM5CA;AALJC,eAAaD,aAERE,wBAAQC,QAAQC,IAAG,CAAA,KAGpBJ,kBAAAA,QAAQK,YAAM,QAAdL,oBAAAA,SAAAA,SAAAA,gBAAgBM,oBAAmB,UAChCA,sCAAAA,GAGPT,WAAW,uBAA0BG;AAGrC,MAAM,EAAEO,aAAY,QAAKC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SAAOpG;AACT;AAEA,eAAsBqG,mBAAmBF,SAA0B;AACjE,MAAMG,QAAQ,UAAMC,gCAAmB;IACrCC,MAAM;IACNL;EACF,CAAA;AACA,MAAI,CAACG;AACH,UAAM,IAAIF,MAAM,iBAAiB;AAEnC,MAAMK,eAAeP,kBAAAA;AACrB,MAAI,CAACO;AACH,UAAM,IAAIL,MAAM,+BAA+B;AAEjD,SAAOK;AACT;",
|
5
|
+
"names": ["events", "setMaxListeners", "globalThis", "__vxrnEnableNativeEnv", "one", "options", "oneOptions", "loadEnv", "process", "cwd", "config", "ensureTSConfig", "optimizeDeps", "getOptimizeDeps", "optimizeIds", "include", "optimizeIdRegex", "RegExp", "map", "id", "replace", "join", "tsConfigPathsPlugin", "vxrnOptions", "getOptionsFilled", "devAndProdPlugins", "Proxy", "name", "configIncoming", "pathsConfig", "tsConfigPaths", "plugins", "flat", "some", "p", "tsconfigPaths", "configResolved", "resolveId", "get", "target", "key", "thisArg", "Reflect", "define", "web", "defaultRenderMode", "JSON", "stringify", "setupFile", "server", "url", "environments", "client", "ssr", "zero", "TESTING", "REPLICACHE_VERSION", "ZERO_VERSION", "hotUpdate", "modules", "m", "relativePath", "path", "relative", "root", "rootDir", "split", "sep", "acceptedHmrExports", "Set", "__vxrnAddNativePlugins", "clientTreeShakePlugin", "__vxrnAddWebPluginsProd", "createFileSystemRouter", "generateTypesForRoutes", "fixDependenciesPlugin", "deps", "createVirtualEntry", "app", "enforce", "sharedNativeConfig", "resolve", "alias", "react", "requireResolve", "ios", "android", "applyToEnvironment", "environment", "isWebEnvironment", "importer", "shouldOptimize", "test", "absolutePath", "dirname", "webPath", "directoryPath", "existsAsync", "err", "console", "warn", "vitePluginSsrCss", "entries", "virtualEntryId", "getUserOneOptions", "command", "Error", "loadUserOneOptions", "found", "loadConfigFromFile", "mode", "foundOptions"]
|
6
6
|
}
|
package/dist/esm/cli.js
CHANGED
@@ -62,7 +62,7 @@ const dev = defineCommand({
|
|
62
62
|
platform: {
|
63
63
|
type: "string"
|
64
64
|
},
|
65
|
-
|
65
|
+
compress: {
|
66
66
|
type: "boolean"
|
67
67
|
},
|
68
68
|
cacheHeaders: {
|
@@ -75,7 +75,7 @@ const dev = defineCommand({
|
|
75
75
|
port: args.port ? +args.port : void 0,
|
76
76
|
host: args.host,
|
77
77
|
cacheHeaders: args.cacheHeaders === !1 ? "off" : void 0,
|
78
|
-
|
78
|
+
compress: args.compress,
|
79
79
|
platform: args.platform === "vercel" ? "vercel" : "node"
|
80
80
|
});
|
81
81
|
}
|
package/dist/esm/cli.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/cli.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,eAAe,eAAe;AACvC,SAAS,eAAe;
|
4
|
+
"mappings": "AAAA,SAAS,eAAe,eAAe;AACvC,SAAS,eAAe;AAGnB,QAAQ,QAAQ,IAAI,CAAC;AAE1B,MAAM,MAAM,cAAc;AAAA,EACxB,MAAM;AAAA,IACJ,MAAM;AAAA;AAAA,IAEN,aAAa;AAAA,EACf;AAAA,EACA,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,UAAM,EAAE,IAAI,IAAI,MAAM,OAAO,WAAW;AACxC,UAAM,IAAI,IAAI;AAAA,EAChB;AACF,CAAC,GAEK,eAAe,cAAc;AAAA,EACjC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACf;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IACZ;AAAA;AAAA,IAE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MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,MAAM;AACV,UAAM,EAAE,OAAO,UAAU,IAAI,MAAM,OAAO,MAAM;AAChD,UAAM,UAAU;AAAA,MACd,MAAM,QAAQ,IAAI;AAAA,IACpB,CAAC;AAAA,EACH;AACF,CAAC,GAEK,OAAO,cAAc;AAAA,EACzB,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,QAAI,CAAC,SAAS,UAAU,EAAE,SAAS,KAAK,EAAE,CAAC,CAAC;AAE1C;AAGF,UAAM,EAAE,QAAQ,IAAI,MAAM,OAAO,YAAY;AAC7C,UAAM,QAAQ,IAAI;AAAA,EACpB;AAAA,EACA,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA,OAAO;AAAA,EACT;AACF,CAAC;AAED,QAAQ,IAAI;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/cli.mjs
CHANGED
@@ -72,7 +72,7 @@ const dev = defineCommand({
|
|
72
72
|
platform: {
|
73
73
|
type: "string"
|
74
74
|
},
|
75
|
-
|
75
|
+
compress: {
|
76
76
|
type: "boolean"
|
77
77
|
},
|
78
78
|
cacheHeaders: {
|
@@ -89,7 +89,7 @@ const dev = defineCommand({
|
|
89
89
|
port: args.port ? +args.port : void 0,
|
90
90
|
host: args.host,
|
91
91
|
cacheHeaders: args.cacheHeaders === !1 ? "off" : void 0,
|
92
|
-
|
92
|
+
compress: args.compress,
|
93
93
|
platform: args.platform === "vercel" ? "vercel" : "node"
|
94
94
|
});
|
95
95
|
}
|
package/dist/esm/cli.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","buildCommand","version","step","required","only","build","exit","serveCommand","platform","
|
1
|
+
{"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","buildCommand","version","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AAGnBA,OAAA,CAAQC,OAAA,CAAQC,GAAA,CAAI,CAAC;AAE1B,MAAMC,GAAA,GAAML,aAAA,CAAc;IACxBM,IAAA,EAAM;MACJC,IAAA,EAAM;MAAA;MAENC,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;QACLC,IAAA,EAAM;MACR;MACAC,IAAA,EAAM;QACJD,IAAA,EAAM;MACR;MACAE,IAAA,EAAM;QACJF,IAAA,EAAM;MACR;MACAG,KAAA,EAAO;QACLH,IAAA,EAAM;MACR;IACF;IACA,MAAMI,IAAI;MAAEN;IAAK,GAAG;MAClB,MAAM;QAAEM;MAAI,IAAI,MAAM,OAAO,eAAW;MACxC,MAAMA,GAAA,CAAIN,IAAI;IAChB;EACF,CAAC;EAEKO,YAAA,GAAehB,aAAA,CAAc;IACjCM,IAAA,EAAM;MACJC,IAAA,EAAM;MACNU,OAAA,EAAS;MACTT,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJS,IAAA,EAAM;QACJP,IAAA,EAAM;QACNQ,QAAA,EAAU;MACZ;MAAA;MAEAC,IAAA,EAAM;QACJT,IAAA,EAAM;QACNQ,QAAA,EAAU;MACZ;IACF;IACA,MAAMJ,IAAI;MAAEN;IAAK,GAAG;MAClB,MAAM;QAAEY;MAAM,IAAI,MAAM,OAAO,kBAAc;MAC7C,MAAMA,KAAA,CAAMZ,IAAI,GAEhBN,OAAA,CAAQmB,IAAA,CAAK,CAAC;I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EL,KAAA,EAAOmB;MAAU,IAAI,MAAM,OAAO,MAAM;MAChD,MAAMA,SAAA,CAAU;QACdC,IAAA,EAAM3B,OAAA,CAAQC,GAAA,CAAI;MACpB,CAAC;IACH;EACF,CAAC;EAEK2B,IAAA,GAAO/B,aAAA,CAAc;IACzBM,IAAA,EAAM;MACJC,IAAA,EAAM;MACNU,OAAA,EAAS;MACTT,WAAA,EAAa;IACf;IACAC,IAAA,EAAM,CAAC;IACP,MAAMM,IAAI;MAAEN;IAAK,GAAG;MAClB,IAAI,CAAC,SAAS,UAAU,EAAEuB,QAAA,CAASvB,IAAA,CAAKwB,CAAA,CAAE,CAAC,CAAC,GAE1C;MAGF,MAAM;QAAEC;MAAQ,IAAI,MAAM,OAAO,gBAAY;MAC7C,MAAMA,OAAA,CAAQzB,IAAI;IACpB;IACA0B,WAAA,EAAa;MACX9B,GAAA;MACAK,KAAA;MACAW,KAAA,EAAOL,YAAA;MACPY,QAAA;MACAD,KAAA,EAAOJ;IACT;EACF,CAAC;AAEDtB,OAAA,CAAQ8B,IAAI","ignoreList":[]}
|
package/dist/esm/cli.native.js
CHANGED
@@ -74,7 +74,7 @@ var dev = defineCommand({
|
|
74
74
|
platform: {
|
75
75
|
type: "string"
|
76
76
|
},
|
77
|
-
|
77
|
+
compress: {
|
78
78
|
type: "boolean"
|
79
79
|
},
|
80
80
|
cacheHeaders: {
|
@@ -92,7 +92,7 @@ var dev = defineCommand({
|
|
92
92
|
port: args.port ? +args.port : void 0,
|
93
93
|
host: args.host,
|
94
94
|
cacheHeaders: args.cacheHeaders === !1 ? "off" : void 0,
|
95
|
-
|
95
|
+
compress: args.compress,
|
96
96
|
platform: args.platform === "vercel" ? "vercel" : "node"
|
97
97
|
});
|
98
98
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","param","buildCommand","version","step","required","only","build","exit","serveCommand","platform","
|
1
|
+
{"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","param","buildCommand","version","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AAGnBA,OAAA,CAAQC,OAAA,CAAQC,GAAA,CAAI,CAAC;AAE1B,IAAAC,GAAM,GAAAL,aAAM;IACVM,IAAA,EAAM;MACJC,IAAA,EAAM;MAAA;MAENC,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;QACLC,IAAA,EAAM;MACR;MACAC,IAAA,EAAM;QACJD,IAAA,EAAM;MACR;MACAE,IAAA,EAAM;QACJF,IAAA,EAAM;MACR;MACAG,KAAA,EAAO;QACLH,IAAA,EAAM;MACR;IACF;IACA,MAAMI,IAAIC,KAAE,EAAK;MACf;UAAMP;QAAE,CAAI,GAAAO,KAAI;QAAM;UAAAD;QAAA,CAAO,eAAW;MACxC,MAAMA,GAAA,CAAIN,IAAI;IAChB;EACF,CAAC;EAEKQ,YAAA,GAAejB,aAAA,CAAc;IACjCM,IAAA,EAAM;MACJC,IAAA,EAAM;MACNW,OAAA,EAAS;MACTV,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJU,IAAA,EAAM;QACJR,IAAA,EAAM;QACNS,QAAA,EAAU;MACZ;MAAA;MAEAC,IAAA,EAAM;QACJV,IAAA,EAAM;QACNS,QAAA,EAAU;MACZ;IACF;IACA,MAAML,IAAIC,KAAE,EAAK;MACf;UAAMP;QAAE,IAAMO,KAAI;QAAA;UAAMM;QAAA,CAAO,eAAc;MAC7C,MAAMA,KAAA,CAAMb,IAAI,GAEhBN,OAAA,CAAQoB,IAAA,CAAK,CAAC;IAChB;EACF,CAAC;EAEKC,YAAA,GAAexB,aAAA,CAAc;IACjCM,I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,UACnD;AAEA,cAAI,aAAa,IAAI,OAAO;AAC1B,gBAAI;AAEF,uBAAS,QAAQ,IAAI,iBAAiB,UAAU;AAAA,YAClD,SAAS,KAAK;AACZ,sBAAQ;AAAA,gBACN,6CACE,QAAQ,IAAI,IACd,wBAAwB,SAAS,QAAQ,IAAI,eAAe,CAAC;AAAA,gBAC7D;AAAA,cACF;AAAA,YACF;AAGF,iBAAO;AAAA,QACT;AAEA,eAAO,QAAQ;AAAA,UACb;AAAA,UACA;AAAA,UACA,aAAa,IAAI,OAAO,IACpB;AAAA,YACE,iBAAiB;AAAA,UACnB,IACA;AAAA,QACN;AAAA,MACF;AAAA,IACF,SAAS,KAAK;AACZ,cAAQ,MAAM,kCAAmC,IAAY,KAAQ,EAAE;AAAA,IACzE;AAEA,UAAM,KAAK;AAAA,EACb,CAAC;AACH;",
|
5
5
|
"names": ["buildInfo"]
|
6
6
|
}
|
package/dist/esm/serve.mjs
CHANGED
package/dist/esm/serve.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","oneOptions","env","VXRN_REACT_19","server","port","host","
|
1
|
+
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","oneServe","vxrnOptions","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","redirect","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","route","cleanPath","serverOptions","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","loaderData","serverJsPath","loader","preloads","headers","Headers","Response","path","htmlFiles","key","readFile","use","next","html","raw","response","handler","status","location","info","json"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QAAuB;AAChC,SAASC,iBAAA,QAAyB;AAElC,SAASC,kBAAA,QAA0B;AAEnCC,OAAA,CAAQC,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;EACvCC,OAAA,CAAQC,KAAA,CAAM,4BAA4BF,GAAA,EAAKG,KAAA,IAASH,GAAG;AAC7D,CAAC;AAED,eAAsBV,MAAMc,IAAA,GAA8B,CAAC,GAAG;EAC5D,MAAMC,UAAA,GAAa,MAAMR,kBAAA,CAAmB,OAAO;EAGnD,OAAAC,OAAA,CAAQQ,GAAA,CAAIC,aAAA,GAAgB,KAErB,MAAMhB,SAAA,CAAU;IACrBiB,MAAA,EAAQ;MAAA;MAEN,GAAGH,UAAA,CAAWG,MAAA;MAAA;MAEd,GAAGb,eAAA,CAAgB;QACjBc,IAAA,EAAML,IAAA,CAAKK,IAAA,GAAO,CAACL,IAAA,CAAKK,IAAA,GAAO;QAC/BC,IAAA,EAAMN,IAAA,CAAKM,IAAA;QACXC,QAAA,EAAUP,IAAA,CAAKO,QAAA;QACfC,QAAA,EAAUR,IAAA,CAAKQ,QAAA;QACfC,YAAA,EAAcT,IAAA,CAAKS;MACrB,CAAC;MAED,MAAMC,YAAYC,OAAA,EAASC,GAAA,EAAK;QAC9B,MAAMX,UAAA,CAAWG,MAAA,EAAQM,WAAA,GAAcC,OAAA,EAASC,GAAG,GACnD,MAAMC,QAAA,CAASZ,UAAA,EAAYU,OAA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,CAAQ3C,GAAA,CAAI,UAAU,KAAK,EAAE;YAC1D,OAAOE,OAAA,CAAQH,QAAA,CAAS0D,QAAA,EAAUH,QAAA,CAASE,MAAM;UACnD;UAEA,IAAIhE,YAAA,CAAaQ,GAAA,CAAI4B,OAAO,GAC1B,IAAI;YAEF0B,QAAA,CAASX,OAAA,CAAQV,GAAA,CAAI,iBAAiB,UAAU;UAClD,SAAS7D,GAAA,EAAK;YACZC,OAAA,CAAQqF,IAAA,CACN,6CACExD,OAAA,CAAQO,GAAA,CAAIqC,IACd,wBAAwBQ,QAAA,CAASX,OAAA,CAAQ3C,GAAA,CAAI,eAAe,CAAC,cAC7D5B,GACF;UACF;UAGF,OAAOkF,QAAA;QACT;QAEA,OAAOpD,OAAA,CAAQyD,IAAA,CACbL,QAAA,EACA,KACA9D,YAAA,CAAaQ,GAAA,CAAI4B,OAAO,IACpB;UACE,iBAAiB;QACnB,IACA,MACN;MACF;IACF,SAASxD,GAAA,EAAK;MACZC,OAAA,CAAQC,KAAA,CAAM,kCAAmCF,GAAA,CAAYG,KAAQ,EAAE;IACzE;IAEA,MAAM4E,IAAA,CAAK;EACb,CAAC;AACH","ignoreList":[]}
|
package/dist/esm/serve.native.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","arguments","length","oneOptions","env","VXRN_REACT_19","server","port","host","
|
1
|
+
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","arguments","length","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","_oneOptions_server_beforeStart","_oneOptions_server","call","oneServe","vxrnOptions","_options_web","_options_build_api","_options_build","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","redirect","_step","value","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","_iterator","Symbol","iterator","next","done","return","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route","cleanPath","serverOptions","entryServer","entry","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","route2","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","_exported_loader","exported","serverJsPath","loaderData","loader","preloads","headers","Headers","Response","path","_err_stack","htmlFiles","key","info","readFile","use","html","raw","response","handler","status","location"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QAAuB;AAChC,SAASC,iBAAA,QAAyB;AAElC,SAASC,kBAAA,QAA0B;AAEnCC,OAAA,CAAQC,EAAA,CAAG,qBAAqB,UAASC,GAAA;EACvCC,OAAA,CAAQC,KAAA,CAAM,4BAA4BF,GAAA,EAAKG,KAAA,IAASH,GAAG;AAC7D,CAAC;AAED,eAAsBV,MAAA,EAAM;EAC1B,IAAAc,IAAM,GAAAC,SAAa,CAAAC,MAAM,QAAAD,SAAmB,QAAO,SAAAA,SAAA;IAAAE,UAAA,SAAAV,kBAAA;EAGnD,OAAAC,OAAA,CAAQU,GAAA,CAAIC,aAAA,GAAgB,KAErB,MAAMlB,SAAA,CAAU;IACrBmB,MAAA,EAAQ;MAAA;MAEN,GAAGH,UAAA,CAAWG,MAAA;MAAA;MAEd,GAAGf,eAAA,CAAgB;QACjBgB,IAAA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,iCAAiC,KAAK,UAAU,KAAK,CAAC,EAAE;AAG1E,SAAO,kBAAkB,SAAS;AACpC;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getRoutes","getServerManifest","createMockModuleWithContext","map","contextModule","key","default","Object","defineProperty","value","createRoutesManifest","paths","options","routeTree","preserveApiRoutes","ignoreRequireErrors","ignoreEntryPoints","platform","Error","JSON","stringify"],"sources":["../../../src/server/createRoutesManifest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAAuBA,SAAA,QAAiB;AACxC,SAASC,iBAAA,QAAyB;
|
1
|
+
{"version":3,"names":["getRoutes","getServerManifest","createMockModuleWithContext","map","contextModule","key","default","Object","defineProperty","value","createRoutesManifest","paths","options","routeTree","preserveApiRoutes","ignoreRequireErrors","ignoreEntryPoints","platform","Error","JSON","stringify"],"sources":["../../../src/server/createRoutesManifest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAAuBA,SAAA,QAAiB;AACxC,SAASC,iBAAA,QAAyB;AAqBlC,SAASC,4BAA4BC,GAAA,GAAgB,EAAC,EAAG;EACvD,MAAMC,aAAA,GAAiBC,GAAA,KAAS;IAAEC,QAAA,EAAU,CAAC;EAAE;EAE/C,OAAAC,MAAA,CAAOC,cAAA,CAAeJ,aAAA,EAAe,QAAQ;IAC3CK,KAAA,EAAOA,CAAA,KAAMN;EACf,CAAC,GAEMC,aAAA;AACT;AAEO,SAASM,qBAAqBC,KAAA,EAAiBC,OAAA,EAAyC;EAC7F,MAAMC,SAAA,GAAYb,SAAA,CAAUE,2BAAA,CAA4BS,KAAK,GAAG;IAC9D,GAAGC,OAAA;IACHE,iBAAA,EAAmB;IACnBC,mBAAA,EAAqB;IACrBC,iBAAA,EAAmB;IACnBC,QAAA,EAAU;EACZ,CAAC;EAED,IAAI,CAACJ,SAAA,EACH,MAAM,IAAIK,KAAA,CAAM,iCAAiCC,IAAA,CAAKC,SAAA,CAAUT,KAAK,CAAC,EAAE;EAG1E,OAAOV,iBAAA,CAAkBY,SAAS;AACpC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getRoutes","getServerManifest","createMockModuleWithContext","map","arguments","length","contextModule","key","default","Object","defineProperty","value","createRoutesManifest","paths","options","routeTree","preserveApiRoutes","ignoreRequireErrors","ignoreEntryPoints"],"sources":["../../../src/server/createRoutesManifest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAAuBA,SAAA,QAAiB;AACxC,SAASC,iBAAA,QAAyB;
|
1
|
+
{"version":3,"names":["getRoutes","getServerManifest","createMockModuleWithContext","map","arguments","length","contextModule","key","default","Object","defineProperty","value","createRoutesManifest","paths","options","routeTree","preserveApiRoutes","ignoreRequireErrors","ignoreEntryPoints"],"sources":["../../../src/server/createRoutesManifest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAAuBA,SAAA,QAAiB;AACxC,SAASC,iBAAA,QAAyB;AAqBlC,SAASC,4BAAA,EAA4B;EACnC,IAAAC,GAAM,GAAAC,SAAA,CAAAC,MAAiB,QAAWD,SAAA,CAAU,gBAAAA,SAAA;IAAAE,aAAA,YAAAA,CAAAC,GAAA;MAAG;QAE/CC,QAAA,EAAO,CACL;MACD;IAGH;EAEO,OAASC,MAAA,CAAAC,cAAqB,CAAAJ,aAAiB,EAAyC;IAC7FK,KAAM,WAAAA,CAAA,EAAY;MAChB,OAAGR,GAAA;IACH;EAAmB,EACnB,EAAAG,aAAA;AAAqB;AACF,SACnBM,oBAAUA,CAAAC,KAAA,EAAAC,OAAA;EACZ,IAACC,SAAA,GAAAf,SAAA,CAAAE,2BAAA,CAAAW,KAAA;IAED,GAAKC,OAAA;IACHE,iBAAgB;IAGlBC,mBAAO,IAAkB;IAC3BC,iBAAA","ignoreList":[]}
|
package/dist/esm/vite/build.js
CHANGED
@@ -56,7 +56,14 @@ async function build(args) {
|
|
56
56
|
define: {
|
57
57
|
...processEnvDefines
|
58
58
|
},
|
59
|
+
ssr: {
|
60
|
+
noExternal: !0,
|
61
|
+
// we patched them to switch to react 19
|
62
|
+
external: ["react", "react-dom"],
|
63
|
+
optimizeDeps
|
64
|
+
},
|
59
65
|
build: {
|
66
|
+
ssr: !0,
|
60
67
|
emptyOutDir: !1,
|
61
68
|
outDir: "dist/api",
|
62
69
|
copyPublicDir: !1,
|
@@ -278,7 +285,7 @@ ${JSON.stringify(params || null, null, 2)}`
|
|
278
285
|
};
|
279
286
|
await FSExtra.writeJSON(toAbsolute("dist/buildInfo.json"), buildInfoForWriting);
|
280
287
|
let postBuildLogs = [];
|
281
|
-
options.server?.platform === "vercel" && (await FSExtra.writeFile(
|
288
|
+
(userOptions.web?.deploy ?? options.server?.platform) === "vercel" && (await FSExtra.writeFile(
|
282
289
|
join(options.root, "dist", "index.js"),
|
283
290
|
`import { serve } from 'one/serve'
|
284
291
|
const handler = await serve()
|
@@ -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;AAG3F,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAG9B,MAAM,EAAE,WAAW,UAAU,WAAW,IAAI;AAE5C,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,UAAQ,MAAM,KAAK,WAAW,GAAG;AACnC,CAAC;AAED,eAAsB,MAAM,MAGzB;AACD,QAAM,cAAc,MAAM,mBAAmB,OAAO,GAC9C,qBAAqB,YAAY,OAAO,QAAQ,gBAAgB;AAGtE,UAAQ,IAAI,gBAAgB,KAEvB,QAAQ,IAAI,kBACf,QAAQ;AAAA,IACN;AAAA,EACF;AAGF,QAAM,aAAa,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EH,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
@@ -62,7 +62,14 @@ async function build(args) {
|
|
62
62
|
define: {
|
63
63
|
...processEnvDefines
|
64
64
|
},
|
65
|
+
ssr: {
|
66
|
+
noExternal: !0,
|
67
|
+
// we patched them to switch to react 19
|
68
|
+
external: ["react", "react-dom"],
|
69
|
+
optimizeDeps
|
70
|
+
},
|
65
71
|
build: {
|
72
|
+
ssr: !0,
|
66
73
|
emptyOutDir: !1,
|
67
74
|
outDir: "dist/api",
|
68
75
|
copyPublicDir: !1,
|
@@ -307,7 +314,7 @@ ${JSON.stringify(params || null, null, 2)}`), console.error(err), process.exit(1
|
|
307
314
|
};
|
308
315
|
await FSExtra.writeJSON(toAbsolute("dist/buildInfo.json"), buildInfoForWriting);
|
309
316
|
let postBuildLogs = [];
|
310
|
-
options.server?.platform === "vercel" && (await FSExtra.writeFile(join(options.root, "dist", "index.js"), `import { serve } from 'one/serve'
|
317
|
+
(userOptions.web?.deploy ?? options.server?.platform) === "vercel" && (await FSExtra.writeFile(join(options.root, "dist", "index.js"), `import { serve } from 'one/serve'
|
311
318
|
const handler = await serve()
|
312
319
|
export const { GET, POST, PUT, PATCH, OPTIONS } = handler`), postBuildLogs.push(`wrote vercel entry to: ${join(".", "dist", "index.js")}`), postBuildLogs.push("point vercel outputDirectory to dist")), userOptions?.afterBuild && (await userOptions?.afterBuild?.(buildInfo)), process.env.VXRN_ANALYZE_BUNDLE && postBuildLogs.push(`client build report: ${toAbsolute("dist/report.html")}`), postBuildLogs.length && (console.info(`
|
313
320
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","vxrnBuild","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","plugins","exclude","define","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","preserveEntrySignatures","input","external","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","filter","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","replaceAll","html","preload","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","buildInfo","writeJSON","postBuildLogs","platform","writeFile","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string","deps","regexPattern","dep","RegExp"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAAA,QAAqB;AAC9B,SAASC,WAAA,EAAaC,KAAA,IAASC,SAAA,QAAoC;AACnE,SAASC,WAAA,EAAaC,eAAA,EAAiBH,KAAA,IAASI,SAAA,QAA2C;AAG3F,SAASC,WAAA,QAAmB;AAC5B,SAASC,kBAAA,QAA0B;AACnC,SAASC,aAAA,QAAqB;AAG9B,MAAM;EAAEC,SAAA;EAAWC,QAAA;EAAUC;AAAW,IAAIlB,OAAA;AAE5CmB,OAAA,CAAQC,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;EACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;AACnC,CAAC;AAED,eAAsBb,MAAMiB,IAAA,EAGzB;EACD,MAAMC,WAAA,GAAc,MAAMZ,kBAAA,CAAmB,OAAO;IAC9Ca,kBAAA,GAAqBD,WAAA,CAAYlB,KAAA,EAAOoB,MAAA,EAAQC,YAAA,IAAgB;EAGtEV,OAAA,CAAQW,GAAA,CAAIC,aAAA,GAAgB,KAEvBZ,OAAA,CAAQW,GAAA,CAAIE,cAAA,IACfV,OAAA,CAAQW,IAAA,CACN,+FACF;EAGF,MAAMC,UAAA,GAAa,MAAMtB,SAAA,CACvB;MACEgB,MAAA,EAAQF,WAAA,CAAYE,MAAA;MACpBpB,KAAA,EAAO;QACL2B,OAAA,EAAS;QACTP,MAAA,EAAQ;UACNC,YAAA,EAAcF;QA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E,GAE9D,IAAIW,MAAA,CAAO2C,IAAI,CAAC;MACzB;MACA,OAAO,IAAIjD,QAAA,CACRkD,KAAA,CAAM,GAAG,EACTnK,GAAA,CAAKkK,IAAA,IAAS;QACb,IAAIA,IAAA,CAAK,CAAC,MAAM,KAAK;UACnB,MAAM5F,KAAA,GAAQiD,MAAA,CAAO2C,IAAA,CAAKtJ,KAAA,CAAM,GAAGsJ,IAAA,CAAKxK,MAAA,GAAS,CAAC,CAAC;UACnD,IAAI,CAAC4E,KAAA,EAAO;YACV,IAAI0F,MAAA,EACF,MAAM,IAAI7C,KAAA,CACR;AAAA;AAAA,0BAEUP,IAAI;AAAA,0BACJsD,IAAI;AAAA,8BACAjD,QAAQ;AAAA;AAAA;AAAA,IAGlC9G,IAAA,CAAKC,SAAA,CAAUmH,MAAA,EAAQ,MAAM,CAAC,CAAC,EACrB;YAGF,OAAO,MAAM2C,IAAA,CAAK/H,OAAA,CAAQ,KAAK,EAAE,EAAEA,OAAA,CAAQ,KAAK,EAAE;UACpD;UACA,OAAOmC,KAAA;QACT;QACA,OAAO4F,IAAA;MACT,CAAC,EACApN,IAAA,CAAK,GAAG,CAAC;IACd,GAAG;EAEH,OAAO,GAAGwF,OAAO,GAAG2H,cAAc,GAAG9H,OAAA,CAAQ,WAAW,GAAG;AAC7D;AAEA,SAASiI,YAAYC,MAAA,EAAgB;EACnC,OAAOA,MAAA,CAAOlI,OAAA,CAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS7B,wBAAwBgK,IAAA,EAAgB;EAM/C,MAAMC,YAAA,GAAe,oBAJCD,IAAA,CAAKtK,GAAA,CAAKwK,GAAA,IAAQJ,WAAA,CAAYI,GAAG,CAAC,EAEjB1N,IAAA,CAAK,GAAG,CAEU;EACzD,OAAO,IAAI2N,MAAA,CAAOF,YAAY;AAChC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","vxrnBuild","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","filter","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","replaceAll","html","preload","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","buildInfo","writeJSON","postBuildLogs","web","deploy","platform","writeFile","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string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