diff --git a/doc/api/esm.md b/doc/api/esm.md index aac1c577815317..04b3d049281847 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -274,6 +274,9 @@ const buffer = readFileSync(new URL('./data.proto', import.meta.url)); > Stability: 1 - Experimental +This feature is only available with the `--experimental-import-meta-resolve` +command flag enabled. + * `specifier` {string} The module specifier to resolve relative to `parent`. * `parent` {string|URL} The absolute parent module URL to resolve from. If none is specified, the value of `import.meta.url` is used as the default.