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
e6972df053
commit
d1a8f7a08f
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue