-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @KrzyZyb thanks for opening a discussion! Do you have a small example repo you can share? My first guess is the angular CLI is maybe moving files around such that the path resolution isn't working at runtime. If that's the case you can work around the Tiled plugin's path resolution by overriding the My other guess based on the first set of symptoms without modifying the tmx/tsx, is it's also possible the angular cli is mangling names, we've had problems with some bundlers mangling the constructor name or function names (this causes an internal I found this SO post that documents a way of preserving names in angular https://stackoverflow.com/a/70370992/839595 I've added an issue to look into ways of minimizing the |
Beta Was this translation helpful? Give feedback.
Hi @KrzyZyb thanks for opening a discussion!
Do you have a small example repo you can share?
My first guess is the angular CLI is maybe moving files around such that the path resolution isn't working at runtime. If that's the case you can work around the Tiled plugin's path resolution by overriding the
convertPath
function similar to this #2370 (reply in thread)My other guess based on the first set of symptoms without modifying the tmx/tsx, is it's also possible the angular cli is mangling names, we've had problems with some bundlers mangling the constructor name or function names (this causes an internal
instanceof
check to fail and not actually add entities to the scene). excaliburjs/e…