안녕하세요
- npm run dev 명령어 실행하고
http://localhost:5173 으로 접속할 수 있었습니다
npm run build 명령어를 입력하니
npm run build
unity-webgl-wrapper@0.0.0 build
granite build
src/UnityCanvas.tsx:21:18 - error TS2339: Property ‘createUnityInstance’ does not exist on type ‘Window & typeof globalThis’.
21 .createUnityInstance(canvas, {
~~~~~~~~~~~~~~~~~~~
이런 에러가 발생했는데요 혹시 createUnityInstance 에서 오류가 발생하지 않게 하려면 어떤내용을 추가해야할지 알수 있을까요?