They will be duplicated. There is no deduplication in the dependency system at all, the same would happen with external scripts. Do you need it, and if so what for?
i want to separate the logic and the visuals of my games, by using external javascript file genrated by typescript.
the scripts can communicate with the game using "c2_callFunction".
i dont know how to make my scripts available to construct 3 preview mode.
i want the benefits of writing oop code in typescript