Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 355 Bytes

File metadata and controls

21 lines (14 loc) · 355 Bytes

🧾 Notes on tsconfig Structure (Dual Build: ESM + CommonJS)

To build a pure ESM lib. Do not specify "type" in package.json

View full esm config

npx tsc --showConfig -p tsconfig.esm.json

View full commmonjs config

npx tsc --showConfig -p tsconfig.cjs.json

View full VSCode config

npx tsc --showConfig -p tsconfig.json