0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/renderers/renderer-lit/server-shim.js
Michael Stramel 806dcd8d8d
Update lit version to v2 (#1445)
* 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 = () => [];