I'm trying to use MDBReader in the browser for a project that I'm serving with Web Dev Server, but keep hitting the following error:
Error while handling server request.
PluginError: Could not resolve import "crypto".
I've also tried directly referencing the built browser version
import { MDBReader } from 'mdb-reader/lib/browser/index.js';
but this yields a different error in lib/browser/environment/index.js where browserifyAES fails to import because it doesn't provide a default export.
Am I importing something incorrectly in either scenario?
I'm trying to use
MDBReaderin the browser for a project that I'm serving with Web Dev Server, but keep hitting the following error:I've also tried directly referencing the built browser version
but this yields a different error in
lib/browser/environment/index.jswherebrowserifyAESfails to import because it doesn't provide a default export.Am I importing something incorrectly in either scenario?