You can now use the three builds available:
src/EventEmitter.js
: Original ES6 code (not minified)dist/eventemitter.es5.js
: Transpiled ES5 code (not minified)dist/eventemitter.es5.min.js
: Transpiled ES5 code (minified)
Note that the EventEmitter.js
file is now under the /src
folder now, so if you want to import it into your web project:
<script src="./node_modules/web-event-emitter/src/EventEmitter.js"></script>
The EventEmitter behaviour haven't changed on this release