Skip to content

Commit 18d30ca

Browse files
committed
qwik: don't build css, fix base URL
1 parent f411bda commit 18d30ca

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

frameworks/keyed/qwik/package-lock.json

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/qwik/src/components/router-head/router-head.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export const RouterHead = component$(() => {
1616
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1717
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
1818

19+
{/* Served by the benchmark */}
20+
<link rel="stylesheet" href="/css/currentStyle.css" />
21+
1922
{head.meta.map((m) => (
2023
<meta key={m.key} {...m} />
2124
))}

frameworks/keyed/qwik/src/entry.ssr.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default function (opts: RenderToStreamOptions) {
2424
// Use container attributes to set attributes on the html tag.
2525
containerAttributes: {
2626
lang: "en-us",
27+
base: "/frameworks/keyed/qwik/dist",
2728
...opts.containerAttributes,
2829
},
2930
});

frameworks/keyed/qwik/src/root.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import {
66
} from "@builder.io/qwik-city";
77
import { RouterHead } from "./components/router-head/router-head";
88

9-
import "/css/currentStyle.css";
10-
119
export default component$(() => {
1210
/**
1311
* The root of a QwikCity site always start with the <QwikCityProvider> component,

0 commit comments

Comments
 (0)