oxidejs 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useEnv, i as useCtx, n as unpluginFactory, o as useFetchCtx, r as vite, s as useRequest, t as oxidejs } from "./src-
|
|
1
|
+
import { a as useEnv, i as useCtx, n as unpluginFactory, o as useFetchCtx, r as vite, s as useRequest, t as oxidejs } from "./src-CU7sBRGf.mjs";
|
|
2
2
|
export { oxidejs as default, oxidejs, unpluginFactory, useCtx, useEnv, useFetchCtx, useRequest, vite };
|
package/dist/rsbuild.mjs
CHANGED
|
@@ -186,7 +186,9 @@ function __rel(pathname, spa) {
|
|
|
186
186
|
if (file.includes("\0")) return;
|
|
187
187
|
if (file === "/" || spa) file = "/index.html";
|
|
188
188
|
if (!file.startsWith("/") || file.split("/").includes("..")) return;
|
|
189
|
-
|
|
189
|
+
const rel = file.slice(1);
|
|
190
|
+
if (rel.startsWith("/")) return;
|
|
191
|
+
return rel;
|
|
190
192
|
}
|
|
191
193
|
async function __asset(request, spa) {
|
|
192
194
|
const file = __rel(new URL(request.url).pathname, spa);
|
|
@@ -500,7 +502,7 @@ function applyViteEnvironments(config, opts) {
|
|
|
500
502
|
resolve: celld ? {
|
|
501
503
|
conditions: ["worker"],
|
|
502
504
|
noExternal: true
|
|
503
|
-
} : { noExternal:
|
|
505
|
+
} : { noExternal: ["tacho"] },
|
|
504
506
|
ssr: celld ? {
|
|
505
507
|
target: "webworker",
|
|
506
508
|
noExternal: true,
|
package/dist/vite.mjs
CHANGED