astro/packages/renderers/renderer-lit/server-shim.js
Michael Stramel 806dcd8d8d
Update lit version to v2 ()
* Update lit version to v2

* Create weak-sheep-clap.md

* Re-assign window.global to window to retain existing functionality
2021-09-28 14:59:28 -04:00

3 lines
121 B
JavaScript

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