[feat] document on best practice of package.json for dual package (CJS+ESM) #53948
Closed
5 tasks done
Labels
Duplicate
An existing issue was already created
Suggestion
🔍 Search Terms
List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
I fork a typescript CJS repo to add ESM support.
sinclairzx81/typebox#400 (comment)
I use below config, seems working, but not sure if it is best practice.
Therefore, request for a official document.
https://github.com/loynoir/typebox/blob/feat-esm/package.json#L13-L56
📃 Motivating Example
💻 Use Cases
The text was updated successfully, but these errors were encountered: