Skip to content

Commit

Permalink
fix: missing window
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNoim committed Jul 7, 2023
1 parent ad45eae commit 9a33215
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 79 deletions.
12 changes: 12 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions reactive_home/src/define-window.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
globalThis.window = globalThis;
4 changes: 3 additions & 1 deletion reactive_home/src/dep.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import './define-window.ts';

export * from "https://esm.noim.io/[email protected]";

export {
Expand Down Expand Up @@ -25,7 +27,7 @@ export {
watchDebounced,
useDebounceFn,
watchPausable,
} from "https://esm.noim.io/@vueuse/core@9.13.0?deps=@vue/[email protected]&externals=@vue/runtime-dom";
} from "https://esm.noim.io/@vueuse/core@10.2.1?deps=@vue/[email protected]&externals=@vue/runtime-dom";

export { watch } from "https://esm.noim.io/@vue/[email protected]";

Expand Down
Loading

0 comments on commit 9a33215

Please sign in to comment.