@@ -5,30 +5,30 @@ function getViteConfiguration() {
55 return {
66 optimizeDeps : {
77 include : [
8- '@semantic-org /astro-lit/dist/client.js' ,
9- '@semantic-org /astro-lit/client-shim.js' ,
10- '@semantic-org /astro-lit/hydration-support.js' ,
8+ '@semantic-ui /astro-lit/dist/client.js' ,
9+ '@semantic-ui /astro-lit/client-shim.js' ,
10+ '@semantic-ui /astro-lit/hydration-support.js' ,
1111 '@webcomponents/template-shadowroot/template-shadowroot.js' ,
1212 '@lit-labs/ssr-client/lit-element-hydrate-support.js' ,
1313 ] ,
14- exclude : [ '@semantic-org /astro-lit/server.js' ] ,
14+ exclude : [ '@semantic-ui /astro-lit/server.js' ] ,
1515 } ,
1616 ssr : {
17- external : [ 'lit-element' , '@lit-labs/ssr' , '@semantic-org /astro-lit' , 'lit/decorators.js' ] ,
17+ external : [ 'lit-element' , '@lit-labs/ssr' , '@semantic-ui /astro-lit' , 'lit/decorators.js' ] ,
1818 } ,
1919 } ;
2020}
2121
2222export function getContainerRenderer ( ) : ContainerRenderer {
2323 return {
24- name : '@semantic-org /astro-lit' ,
25- serverEntrypoint : '@semantic-org /astro-lit/server.js' ,
24+ name : '@semantic-ui /astro-lit' ,
25+ serverEntrypoint : '@semantic-ui /astro-lit/server.js' ,
2626 } ;
2727}
2828
2929export default function ( ) : AstroIntegration {
3030 return {
31- name : '@semantic-org /astro-lit' ,
31+ name : '@semantic-ui /astro-lit' ,
3232 hooks : {
3333 'astro:config:setup' : ( { updateConfig, addRenderer, injectScript } ) => {
3434 // Inject the necessary polyfills on every page (inlined for speed).
@@ -37,12 +37,12 @@ export default function (): AstroIntegration {
3737 readFileSync ( new URL ( '../client-shim.min.js' , import . meta. url ) , { encoding : 'utf-8' } )
3838 ) ;
3939 // Inject the hydration code, before a component is hydrated.
40- injectScript ( 'before-hydration' , `import '@semantic-org /astro-lit/hydration-support.js';` ) ;
40+ injectScript ( 'before-hydration' , `import '@semantic-ui /astro-lit/hydration-support.js';` ) ;
4141 // Add the lit renderer so that Astro can understand lit components.
4242 addRenderer ( {
43- name : '@semantic-org /astro-lit' ,
44- serverEntrypoint : '@semantic-org /astro-lit/server.js' ,
45- clientEntrypoint : '@semantic-org /astro-lit/dist/client.js' ,
43+ name : '@semantic-ui /astro-lit' ,
44+ serverEntrypoint : '@semantic-ui /astro-lit/server.js' ,
45+ clientEntrypoint : '@semantic-ui /astro-lit/dist/client.js' ,
4646 } ) ;
4747 // Update the vite configuration.
4848 updateConfig ( {
0 commit comments