After yarn install datamaps, how do I actually include the library in my .js class?
import { DataMap } from "datamaps";
// require('datamaps'); <-- doesn't work either
var map = new DataMap({element: document.getElementById('container')});
throws
ReferenceError: DataMap is not defined
I assume this is something simple, but I'm stuck. Thanks.