From b1d136f16595c752f13d5bd77cc541884dbf1d02 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 20 May 2023 22:07:37 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7698190..7d99f11 100644 --- a/README.md +++ b/README.md @@ -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: