connorjs / css-typed

TypeScript declaration generator for CSS files
https://npmjs.com/package/css-typed
MIT License
4 stars 1 forks source link

Bundler to target Node 16 (or whatever) #7

Closed connorjs closed 3 months ago

connorjs commented 10 months ago

Overview

As a developer of css-typed, I want to write ESNext code, but publish ES-Whatever code so that more consumers can use it.

Notes

connorjs commented 3 months ago

Note: https://github.com/connorjs/css-typed/commit/24523d06e8d635c30d9a1ac63e6570734f8083bc added GitHub matrix strategy.

connorjs commented 3 months ago

ES target = earliest supported node, officially supported via pipeline matrix strategy (20 at time of writing), although it may work on earlier versions (e.g. 16).

connorjs commented 3 months ago

No direct need to rewrite in TypeScript given no plan to vend lib side. Trivial rewrite though.

connorjs commented 3 months ago

I will use esbuild.