doc: call out import.meta is only supported in ES modules · nodejs/node@5e5b4b0

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 5e5b4b0

antonk52ruyadorno

authored and

committed

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 8a5429c commit 5e5b4b0

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -341,7 +341,7 @@ modules it can be used to load ES modules.

341341

* {Object}

342342
343343

The `import.meta` meta property is an `Object` that contains the following

344-

properties.

344+

properties. It is only supported in ES modules.

345345
346346

### `import.meta.dirname`

347347

0 commit comments

Comments

 (0)