astro/packages/renderers/renderer-lit/server-shim.js
Matthew Phillips 48851c9d25
Adds support for a Lit renderer (#665)
* 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
2021-07-13 08:27:40 -04:00

2 lines
No EOL
96 B
JavaScript

import '@lit-labs/ssr/lib/install-global-dom-shim.js';
document.getElementsByTagName = () => [];