feat: bring back <Head> component (#3249)
This PR brings back the `<Head>` component from Fresh 1.x . The implementation is much cleaner than back then and also works client-side now too.
This commit is contained in:
@@ -33,7 +33,22 @@ Deno.test("Docs Code example checks", async () => {
|
||||
lib: ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"],
|
||||
jsx: "precompile",
|
||||
jsxImportSource: "preact",
|
||||
jsxPrecompileSkipElements: ["a", "img", "source", "body", "html", "head"],
|
||||
jsxPrecompileSkipElements: [
|
||||
"a",
|
||||
"img",
|
||||
"source",
|
||||
"body",
|
||||
"html",
|
||||
"head",
|
||||
"title",
|
||||
"meta",
|
||||
"script",
|
||||
"link",
|
||||
"style",
|
||||
"base",
|
||||
"noscript",
|
||||
"template",
|
||||
],
|
||||
},
|
||||
};
|
||||
await Deno.writeTextFile(
|
||||
|
||||
Reference in New Issue
Block a user