I am using Leaflet Geopackage with my react app. When importing the library directly from cdn, there are no issues; but importing it from npm causes an fs module not found error
// this works
import "https://unpkg.com/@ngageoint/[email protected]/dist/leaflet-geopackage.min.js";
// this causes fs error
import "@ngageoint/leaflet-geopackage/dist/leaflet-geopackage.min.js";