48851c9d25
* Adds support for a Lit renderer This adds `@astrojs/renderer-lit`. An experimental Lit renderer. * Removed cached submodule, mistake * Prevent globals clobbering * Add docs on globals
19 lines
489 B
JavaScript
19 lines
489 B
JavaScript
export default {
|
|
name: '@astrojs/renderer-lit',
|
|
server: './server.js',
|
|
external: [
|
|
'@lit-labs/ssr/lib/install-global-dom-shim.js',
|
|
'@lit-labs/ssr/lib/render-lit-html.js',
|
|
'@lit-labs/ssr/lib/lit-element-renderer.js'
|
|
],
|
|
polyfills: [
|
|
'./client-shim.js'
|
|
],
|
|
hydrationPolyfills: [
|
|
'lit/experimental-hydrate-support.js'
|
|
],
|
|
knownEntrypoints: [
|
|
'@astrojs/renderer-lit/client-shim.js',
|
|
'@webcomponents/template-shadowroot/template-shadowroot.js'
|
|
]
|
|
};
|