diff options
Diffstat (limited to 'docs/runtime/modules.md')
-rw-r--r-- | docs/runtime/modules.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime/modules.md b/docs/runtime/modules.md index 5ba4956ce..32bd78cc3 100644 --- a/docs/runtime/modules.md +++ b/docs/runtime/modules.md @@ -159,7 +159,7 @@ If you aren't a TypeScript user, you can create a [`jsconfig.json`](https://code ## CommonJS -Bun has native support for CommonJS modules (added in Bun v0.6.5). +Bun has native support for CommonJS modules (added in Bun v0.6.5). ES Modules are the recommended module format, but CommonJS modules are still widely used in the Node.js ecosystem. Bun supports both module formats, so that existing CommonJS packages can be used. In Bun's JavaScript runtime, `require` can be used by both ES Modules and CommonJS modules. |