medikoo / event-emitter

Environment agnostic event emitter solution for JavaScript
MIT License
241 stars 23 forks source link

How to import this in angular 4? #18

Closed debayanMuvi closed 6 years ago

debayanMuvi commented 6 years ago

Hi,

I am trying to make two Angular apps and i want an event emitter to listen events commonly in between two different application just like micro frontend but i am unable to import this in angular 4 . Can please give some instruction to integrate this.

medikoo commented 6 years ago

@debayanMuvi it's more an question to ask in Angular issue tracker (or on Stack Overflow)

This module is provided in CJS modules format (one used by Node.js) and such format can be bundled for browsers with every popoular modules bundler WebPack, Browserify etc.

If Angular documentation doesn't give a clear hint how CJS modules can be used in its stack, then please an open issue over there.