Skip to content

Commit 4074692

Browse files
committed
fix: block HTMLCanvasElement
1 parent 7a2ba6e commit 4074692

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ export function createScopedThreejs(canvas) {
5858

5959
const exports = {};
6060

61+
// eslint-disable-next-line
62+
const HTMLCanvasElement = undefined
63+
6164
// three.js source code will be injected here
6265
// eslint-disable-next-line
6366
__INJECT_THREE__

0 commit comments

Comments
 (0)