apollographql / apollographql/apollo-utils

Provide esm version

Open
#257 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
42
Forks
14
PR merge metrics
No merged PRs in 30d

Description

With more and more build tools (vite, nuxt, etc) going towards an esm-first build, it would be nice if a proper [esm interface](https://nodejs.org/api/esm.html) could be provided, i.e. transpile and distribute esm version, including correct [export](https://nodejs.org/api/packages.html#conditional-exports) declaration in `package.json`.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting package.json and the repository's TypeScript build and distribution setup. Compare the current package exports with Node's ESM and conditional-exports guidance; done means a transpiled ESM distribution is published with correct package.json declarations and works with build tools such as Vite and Nuxt.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, nuxt, typescript, vite
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.