mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2fedb97489
* fix(#2623, #3508): patch lit server shim to allow sass compat * chore: add changeset
7 lines
240 B
JavaScript
7 lines
240 B
JavaScript
import { installWindowOnGlobal } from '@lit-labs/ssr/lib/dom-shim.js';
|
|
installWindowOnGlobal();
|
|
|
|
window.global = window;
|
|
document.getElementsByTagName = () => [];
|
|
// See https://github.com/lit/lit/issues/2393
|
|
document.currentScript = null;
|