timkendall / tql

A GraphQL query builder for TypeScript. Avoid the pain of codegen.
https://tql.dev
MIT License
132 stars 6 forks source link

Ship ES modules #64

Open timkendall opened 3 years ago

timkendall commented 3 years ago

See if there is any reasonable way to ship ES modules for runtimes (i.e browsers, Node 14+) that support them natively. Make sure it works with https://unpkg.com/

timkendall commented 3 years ago

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

timkendall commented 2 years ago

https://github.com/standard-things/esm

timkendall commented 2 years ago

https://github.com/privatenumber/pkgroll

timkendall commented 2 years ago

TypeScript 4.7 officially supports targeting ES Modules via the "Node16" target.