Skip to content

Commit 569c73b

Browse files
committed
Dynamic chunks import externals
1 parent b99dcd3 commit 569c73b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/impl/CodeGenerator.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ async function generateChunk (context, chunk, bundle, dynamicImports) {
215215

216216
if (chunk.isDynamicEntry) {
217217
return `
218+
${createExternalImports(context, chunk.__externalImports)}
218219
(function (global) {
219220
var __nollup__import__meta__ = {
220221
${resolveMetaProperties(context, chunk, bundle)}

0 commit comments

Comments
 (0)