Skip to content

Commit

Permalink
c574527 fix(qwik-city): spa-shim.ts import scripts from wrong path (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
blueagler committed Mar 6, 2024
1 parent 9c245ee commit 53bc194
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.qwik.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const shim$1 = async (path, symbol) => {
const imp = new Function("url", "return import(url)");
(await imp(url.href))[symbol](currentScript);
} else
(await import(path))[symbol](currentScript);
(await import(url.href))[symbol](currentScript);
}
};
const RouterOutlet = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
Expand Down
2 changes: 1 addition & 1 deletion index.qwik.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const shim$1 = async (path, symbol) => {
const imp = new Function("url", "return import(url)");
(await imp(url.href))[symbol](currentScript);
} else
(await import(path))[symbol](currentScript);
(await import(url.href))[symbol](currentScript);
}
};
const RouterOutlet = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(() => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@builder.io/qwik-city",
"description": "The meta-framework for Qwik.",
"version": "1.5.0-dev20240306143150",
"version": "1.5.0-dev20240306143700",
"bugs": "https://github.com/BuilderIO/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3.0.1",
Expand Down

0 comments on commit 53bc194

Please sign in to comment.