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 ruyadorno committed Dec 20, 2024
1 parent f99075a commit 16b1ad8
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 @@ -341,7 +341,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 16b1ad8

Please sign in to comment.