The @libsql/client package uses conditional exports (edge-light, workerd) that cause webpack to resolve to the web.js entry point during EdgeOne builds, resulting in 'TypeError: e is not a constructor'. Switching from static import to dynamic require() bypasses webpack's ESM conditional export resolution and uses the CommonJS entry point consistently.