From 8be8e1864a0451901bd80d26914156d453657261 Mon Sep 17 00:00:00 2001 From: Anton Kastritskii Date: Mon, 9 Dec 2024 01:19:09 +0000 Subject: [PATCH] doc: call out import.meta is only supported in ES modules --- 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`