Skip to content

Commit f3b3ff8

Browse files
antonk52targos
authored andcommitted
doc: call out import.meta is only supported in ES modules
PR-URL: #56186 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 5665e86 commit f3b3ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ modules it can be used to load ES modules.
340340
* {Object}
341341

342342
The `import.meta` meta property is an `Object` that contains the following
343-
properties.
343+
properties. It is only supported in ES modules.
344344

345345
### `import.meta.dirname`
346346

0 commit comments

Comments
 (0)