From b739c2a9268971ec50a00cfd34828a2542de5409 Mon Sep 17 00:00:00 2001 From: Anton Kastritskii Date: Wed, 11 Dec 2024 01:43:13 +0000 Subject: [PATCH] doc: call out import.meta is only supported in ES modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/56186 Reviewed-By: Matteo Collina Reviewed-By: Michaƫl Zasso --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 47e60084a94845..7016e24065feab 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -330,7 +330,7 @@ modules it can be used to load ES modules. * {Object} The `import.meta` meta property is an `Object` that contains the following -properties. +properties. It is only supported in ES modules. ### `import.meta.dirname`