primus / eventemitter3

EventEmitter3 - Because there's also a number 2. And we're faster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't import eventemitter3

griffi-gh opened this issue · comments

import * as EventEmitter from './lib/eventemitter3.min.js';
returns an empty Symbol object

import EventEmitter from './lib/eventemitter3.min.js';
doesn't work, throws a export 'default' was not found error

I have the same issue. Any help appreciated.

@griffi-gh , I see you have closed this issue, but Idont see any updates to the code or any comments. Can you please explain how to resolve?

@sodapopzs I just used esm.run, everything from that cdn works as es6 module flawlessly