From dc378b7fd7006d87cb0147c5a9f136a8692c19db Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 18 May 2024 17:00:18 +0200 Subject: [PATCH] docs: update --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index d322c2b..7b787e1 100644 --- a/README.md +++ b/README.md @@ -238,6 +238,9 @@ Importing a TypeScript module with `importx`: | Cache: `false` | ❌ | ✅ | ✅ | ✅ | | List dependencies | ❌ | ✅ | ✅ | ✅ | | Runtimes other than Node.js | ✅ | ❌ | ✅ | ✅ | +| Runtime module type* | ESM | ESM | CJS | ESM/CJS | + +> *This indicates what's the module type for each loader to evaluate the modules. For `CJS`, it means the laoder transpiles the module to CJS and executes it in CJS mode, which may have some limitations like top-level await. ## Sponsors