nedcrow

spine-babylonjs.js : (is compiled) https://github.com/klaude416/spine-runtimes/blob/3.6/spine-ts/babylonjs/src/babylon.d.ts

I saw codes from compiled file.
There it was written:
export var spine;
(function (spine){
... code ...
})(spine || (spine = {}));
var spine;
(function (spine){
... code ...
})(spine || (spine = {}));
... loop ...
I thought it needed modification.
I need to export those same name props when last.
like a
var spine;
(function (spine){
... code ...
})(spine || (spine = {}));
var spine;
(function (spine){
... code ...
})(spine || (spine = {}));
... loop ...
export {spine};
And saw error about import ref when after modified codes.
What this reason?
What is the difference export position from two codes?

Thank you!

---------------------------------------------------------------------------------------------------
둘 중 아래 코드에서는 오류가 발생합니다.
무슨 이유 일까요?
두 export 위치에서 어떤 차이가 발생하는지 궁금합니다.
감사합니다!
nedcrow
  • Сообщения: 6

badlogic

BabylonJS 나 Spine과의 통합을 유지하지 않을까 걱정됩니다. 프로젝트의 GitHub 페이지에서 물어볼 수 있습니까? 내가 볼 수 있듯이 모듈 시스템에 문제가있는 것으로 보입니다. 그러나 솔루션을 가질 BabylonJS 빌드에 대해 충분히 알지 못합니다.

I'm afraid we do not maintain BabylonJS nor the Spine integration with it. Could you ask on the project's GitHub page? From what I can see, it appears that the module system has an issue. But I don't know enough about BabylonJS build to have a solution.
Аватара пользователя
badlogic

Mario
  • Сообщения: 2013

nedcrow

Okey, i got it.
The problem part is about 'import ref' maybe. But this was just my thinking.
Anyway Thank you again!
nedcrow
  • Сообщения: 6


Вернуться в 한국어 Spine 사용자