pixijs/floss

Supporting native ESM

Opened this issue · 5 comments

Mocha as partial native support since 7.1.0, and seems to be full support since 8.0.0. Any chance of bumping mocha?

Sure, I'm not sure why I haven't bumped it yet. But will give it a shot and see if I hit any issues.

@bigtimebuddy ping 🐼
any progress?

I'm working on this, I hit a snag with v8.0.0. The Mocha reporting is broken and nothing shows up, trying to dig to see what's happening.

@bigtimebuddy looks like this is still not working since you're using require() to import the test files, and not import(), which is here, I believe: https://github.com/pixijs/floss/blob/main/src/renderer.ts#L110

Okay, will look at it again.