googleapis / googleapis/google-api-nodejs-client

Provide an ESM output target

Offen
#3,335 0 Kommentare 4 Reaktionen 1 zugewiesene Person Beansprucht von @sofisl Auf GitHub ansehen
priority: p3 type: feature request
Vorherrschende Sprache
TypeScript
Sterne
12.2k
Forks
2k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
24

Beschreibung

Currently this project is written in (generates) TypeScript using esm module notation but generates CJS output.

This makes applying size optimizations to the code essentially impossible. While this package is supposed to be used on the server side, there are environments that care about impact of a module on startup time such as serverless environments and CLIs. Measured on my Macbook M1, requiring this packages currently takes about 650ms.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.