You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PixiJS has a @pixi/utils package that contains the line
export { default as EventEmitter } from 'eventemitter3'
In Typescript, this means the @pixi/utils package has a module named EventEmitter and I would expect the same to be true in ScalaJS after conversion. Unfortunately, it appears to ignore it entirely.
If I were to change it to export * as EventEmitter from 'eventemitter3' I get the module as expected.
This seems like a generic issue (rather than library specific) but I still created a test under the import tests with PR #602
With this issue, importing of Pixi fails (in part) because the internal references to EventEmitter @pixi/util are not resolvable meaning none of the event-related methods / properties (e.g. on(), hitarea, etc.) are available. This makes it virtually unusable. :(
The text was updated successfully, but these errors were encountered:
Specifically noticed while converting PixiJS.
PixiJS has a
@pixi/utils
package that contains the lineexport { default as EventEmitter } from 'eventemitter3'
In Typescript, this means the
@pixi/utils
package has a module named EventEmitter and I would expect the same to be true in ScalaJS after conversion. Unfortunately, it appears to ignore it entirely.If I were to change it to
export * as EventEmitter from 'eventemitter3'
I get the module as expected.This seems like a generic issue (rather than library specific) but I still created a test under the import tests with PR #602
With this issue, importing of Pixi fails (in part) because the internal references to EventEmitter @pixi/util are not resolvable meaning none of the event-related methods / properties (e.g. on(), hitarea, etc.) are available. This makes it virtually unusable. :(
The text was updated successfully, but these errors were encountered: