Skip to content

Native ES Module (ESM) #1413

@mcmah309

Description

@mcmah309

Consider publishing epub.js as a native ES module or adding ESM support alongside CommonJS.

A lot of modern tools (like Deno, Bun, and Vite) work best—or only—with ESM. Right now, require() makes it tricky to use epub.js in those environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions