You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to #269 and #267 from what I can see, but I will post here as a note that might help other people.
The new export mechanism generated by Rollup JS seems to have exported topojson as a named module. This means you can no longer load the module via it's file path when you use it in AMD / RequireJS you have to create an alias, e.g.
v1.6.20
//This worked okay
define(['bower_components/topojson/topjson'], function(topojson) {
console.log(topojson.feature);
})
This is related to #269 and #267 from what I can see, but I will post here as a note that might help other people.
The new export mechanism generated by Rollup JS seems to have exported topojson as a named module. This means you can no longer load the module via it's file path when you use it in AMD / RequireJS you have to create an alias, e.g.
v1.6.20
v1.6.21
http://requirejs.org/docs/api.html#modulename
http://stackoverflow.com/questions/19720646/named-module-vs-unnamed-module-in-requirejs
The text was updated successfully, but these errors were encountered: