googleapis / googleapis/google-api-nodejs-client

Provide an ESM output target

Open
#3,335 0 comments 4 reactions 1 assignee Claimed by @sofisl View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.