hmans / miniplex

A 👩‍💻 developer-friendly entity management system for 🕹 games and similarly demanding applications, based on 🛠 ECS architecture.
MIT License
854 stars 39 forks source link

`Event` is not exported by `eventery` - error in rollup #312

Open adynathos opened 5 months ago

adynathos commented 5 months ago

I'm getting an error in rollup when building with miniplex. It is strange as I see Event in the eventery library source. Would you know why that error could happen? Thank you

[!] RollupError: node_modules/.pnpm/@miniplex+bucket@2.0.0/node_modules/@miniplex/bucket/dist/miniplex-bucket.esm.js (1:9): "Event" is not exported by "node_modules/.pnpm/eventery@0.0.4/node_modules/eventery/dist/eventery.cjs.js", imported by "node_modules/.pnpm/@miniplex+bucket@2.0.0/node_modules/@miniplex/bucket/dist/miniplex-bucket.esm.js".
https://rollupjs.org/troubleshooting/#error-name-is-not-exported-by-module
node_modules/.pnpm/@miniplex+bucket@2.0.0/node_modules/@miniplex/bucket/dist/miniplex-bucket.esm.js (1:9)
1: import { Event } from 'eventery';