We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0946874 commit aab3dffCopy full SHA for aab3dff
packages/canvas-three/index.ts
@@ -1,4 +1,4 @@
1
declare var global: any;
2
-require('@nativescript/polyfill');
+require('@nativescript/canvas-polyfill');
3
import * as THREE from 'three';
4
-(global as any).THREE = global.window.THREE = global.THREE || THREE;
+(global as any).THREE = global.window.THREE = global.THREE || THREE;
0 commit comments