We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parentURL
1 parent 3ab6143 commit 43e9f0bCopy full SHA for 43e9f0b
doc/api/module.md
@@ -99,6 +99,10 @@ changes:
99
URL, such as `import.meta.url`, you can pass that URL here. **Default:**
100
`'data:'`
101
* `options` {Object}
102
+ * `parentURL` {string|URL} If you want to resolve `specifier` relative to a
103
+ base URL, such as `import.meta.url`, you can pass that URL here. This
104
+ property is ignored if the `parentURL` is supplied as the second argument.
105
+ **Default:** `'data:'`
106
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
107
[`initialize`][] hook.
108
* `transferList` {Object\[]} [transferrable objects][] to be passed into the
0 commit comments