Skip to content

Commit 5ab0d1c

Browse files
committed
module: document parentURL in register options
1 parent 951d00d commit 5ab0d1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/module.md

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ changes:
103103
URL, such as `import.meta.url`, you can pass that URL here. **Default:**
104104
`'data:'`
105105
* `options` {Object}
106+
* `parentURL` {string|URL} If you want to resolve `specifier` relative to a
107+
base URL, such as `import.meta.url`, you can pass that URL here.
108+
**Default:** `'data:'`
106109
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
107110
[`initialize`][] hook.
108111
* `transferList` {Object\[]} [transferrable objects][] to be passed into the

0 commit comments

Comments
 (0)