eta icon indicating copy to clipboard operation
eta copied to clipboard

I want to use eta in browser directly with esm.

Open hzhangxyz opened this issue 3 months ago • 1 comments

Is your feature request related to a problem? Please describe. Not a problem.

Describe the solution you'd like I want I can use it by

import { Eta } from "https://unpkg.com/eta/dist/index.browser.mjs";

in type="module" script.

Describe alternatives you've considered I can load that cjs and in <script src="xxx"></script>

Additional context Nothing

hzhangxyz avatar Dec 02 '25 05:12 hzhangxyz

Is there a reason ESM would work better than the current UMD build?

bgub avatar Dec 12 '25 21:12 bgub