i got this library which is build i think in ES6 and has code after compile like Object.defineProperty(exports, "__esModule", { value: true });
I added below code in gulpfile but how to have this library available after compile or use in other pages? var AnalyticsEventEmitter = require("analytics-js-client").default; Can we use in angular1 this library because its working fine in angular 2+ Any help will be appreciated Thanks Pankaj -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.