eta-dev / eta

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
https://eta.js.org
MIT License
1.41k stars 65 forks source link

"EtaConfig" is not exported in JSR #295

Closed pasha-bolokhov closed 2 months ago

pasha-bolokhov commented 2 months ago

While you can do

import type { EtaConfig } from "https://deno.land/x/eta@v3.4.0/src/config.ts";

you can't do

import type { EtaConfig } from "jsr:@eta-dev/eta@3.4.0"

because it is not being currently exported…

Please export it

nebrelbug commented 2 months ago

Good catch! I don't have time for a fix atm but I'd be happy to merge a PR!

pasha-bolokhov commented 2 months ago

works now in 3.5.0 after the merge, thanks!