mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
Update README.md
This commit is contained in:
parent
a27c95896b
commit
b1d136f165
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ https://user-images.githubusercontent.com/6702424/197344513-065246b9-8823-4894-a
|
|||
|
||||
By default your module relase [in CJS](https://github.com/garronej/ts-ci/blob/8390339b52c98cdbd458d4b945286f999358a1ff/tsconfig.json#L3) with [ESM module interop](https://github.com/garronej/ts-ci/blob/8390339b52c98cdbd458d4b945286f999358a1ff/tsconfig.json#L6).
|
||||
|
||||
If you want to **only** release as ESM just set `"module": "ES2020"` in your `tsconfig.json` (and remove `esModuleInterop`).
|
||||
If you want to **only** release as ESM just set `"module": "ES6"` in your `tsconfig.json` (and remove `esModuleInterop`).
|
||||
|
||||
If you want to release for both CJS and ESM, it's a bit less straign forward. You have to:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue