Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit c438cb3

Browse files
committed
Pass import() options metadata as was done with define()
1 parent bf425f4 commit c438cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function logloads(loads) {
170170
step: options.address ? 'fetch' : 'locate',
171171
loader: loader,
172172
moduleName: name,
173-
moduleMetadata: {},
173+
moduleMetadata: options && options.metadata || {},
174174
moduleSource: options.source,
175175
moduleAddress: options.address
176176
}));

0 commit comments

Comments
 (0)