From 7376ae6980b1cd5fc39ad90c6d17b328bdc7cf0a Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Tue, 30 May 2023 15:52:21 -0700 Subject: Update modules.md --- docs/runtime/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/runtime/modules.md') 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. -- cgit v1.2.3