From d1a8f7a08f6e83d73695a5959967f18bc8b46ebd Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sun, 21 May 2023 07:30:54 +0200 Subject: [PATCH] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index f23d454..9aab2ad 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,6 @@ You want to avoid this strategy if: ## ESM only If you want to **only** release as ESM just set `"module": "ES6"` in your `tsconfig.json` (and remove `esModuleInterop`). -You will need to tell `jest` that your module needs to be transpiled by using -`"transformIgnorePatterns": [ "node_modules/(?!@codegouvfr/react-dsfr)" ]`. You want to avoid this strategy if: - You want your module to be usable with node. The ESM distribution produced by TypeScript is an ESM distribution