Skip to content

Commit

Permalink
doc: call out import.meta is only supported in ES modules
Browse files Browse the repository at this point in the history
PR-URL: #56186
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
antonk52 authored and targos committed Dec 13, 2024
1 parent 5665e86 commit f3b3ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,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`

Expand Down

0 comments on commit f3b3ff8

Please sign in to comment.