Skip to content

Commit b739c2a

Browse files
antonk52marco-ippolito
authored andcommitted
doc: call out import.meta is only supported in ES modules
PR-URL: #56186 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 6797a35 commit b739c2a

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
@@ -330,7 +330,7 @@ modules it can be used to load ES modules.
330330
* {Object}
331331

332332
The `import.meta` meta property is an `Object` that contains the following
333-
properties.
333+
properties. It is only supported in ES modules.
334334

335335
### `import.meta.dirname`
336336

0 commit comments

Comments
 (0)