@semantic-ui/astro-lit
Advanced tools
Comparing version
/** @license Copyright 2020 Google LLC (BSD-3-Clause) */ | ||
/** Bundled JS generated from "@astrojs/lit/client-shim.js" */ | ||
/** Bundled JS generated from "@semantic-org/astro-lit/client-shim.js" */ | ||
var N = Object.defineProperty; | ||
@@ -4,0 +4,0 @@ var i = (t, n) => () => (t && (n = t((t = 0))), n); |
@@ -6,12 +6,12 @@ import { readFileSync } from "node:fs"; | ||
include: [ | ||
"@astrojs/lit/dist/client.js", | ||
"@astrojs/lit/client-shim.js", | ||
"@astrojs/lit/hydration-support.js", | ||
"@semantic-org/astro-lit/dist/client.js", | ||
"@semantic-org/astro-lit/client-shim.js", | ||
"@semantic-org/astro-lit/hydration-support.js", | ||
"@webcomponents/template-shadowroot/template-shadowroot.js", | ||
"@lit-labs/ssr-client/lit-element-hydrate-support.js" | ||
], | ||
exclude: ["@astrojs/lit/server.js"] | ||
exclude: ["@semantic-org/astro-lit/server.js"] | ||
}, | ||
ssr: { | ||
external: ["lit-element", "@lit-labs/ssr", "@astrojs/lit", "lit/decorators.js"] | ||
external: ["lit-element", "@lit-labs/ssr", "@semantic-org/astro-lit", "lit/decorators.js"] | ||
} | ||
@@ -22,4 +22,4 @@ }; | ||
return { | ||
name: "@astrojs/lit", | ||
serverEntrypoint: "@astrojs/lit/server.js" | ||
name: "@semantic-org/astro-lit", | ||
serverEntrypoint: "@semantic-org/astro-lit/server.js" | ||
}; | ||
@@ -29,3 +29,3 @@ } | ||
return { | ||
name: "@astrojs/lit", | ||
name: "@semantic-org/astro-lit", | ||
hooks: { | ||
@@ -37,7 +37,7 @@ "astro:config:setup": ({ updateConfig, addRenderer, injectScript }) => { | ||
); | ||
injectScript("before-hydration", `import '@astrojs/lit/hydration-support.js';`); | ||
injectScript("before-hydration", `import '@semantic-org/astro-lit/hydration-support.js';`); | ||
addRenderer({ | ||
name: "@astrojs/lit", | ||
serverEntrypoint: "@astrojs/lit/server.js", | ||
clientEntrypoint: "@astrojs/lit/dist/client.js" | ||
name: "@semantic-org/astro-lit", | ||
serverEntrypoint: "@semantic-org/astro-lit/server.js", | ||
clientEntrypoint: "@semantic-org/astro-lit/dist/client.js" | ||
}); | ||
@@ -44,0 +44,0 @@ updateConfig({ |
{ | ||
"name": "@semantic-ui/astro-lit", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Use Lit components with Astro", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -121,5 +121,5 @@ // Separate import from the rest so it doesn't get re-organized after other imports | ||
export default { | ||
name: '@astrojs/lit', | ||
name: '@semantic-org/astro-lit', | ||
check, | ||
renderToStaticMarkup, | ||
}; |
13842
1.13%