From fd9a79df7dcf63990ff15c99433d6d86c95b794e 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 b27c9e3b4e7abb..cfa4b5418be4bc 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -343,7 +343,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`