segment-integrations/analytics.js-integration-madkudu

Loading issue when loading Segment with require

Closed this issue · 1 comments

Getting this error on app.madkudu.com (which uses require.js)

Mismatched anonymous define() module: function (){return require("1")}

Looks very similar to https://github.com/segment-integrations/analytics.js-integration-amplitude/blob/master/lib/index.js#L62

Attempting the same fix and will create a PR.

Thanks for the quick fix!