rollup-plugin-concurrent-top-level-await 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -277,7 +277,7 @@ function concurrentTopLevelAwait(options = {}) {
|
|
|
277
277
|
if (hasAwait) asyncTracker.setDependencies(id, []);
|
|
278
278
|
let imports = (await Promise.all(importDeclarations.map(async (declaration) => {
|
|
279
279
|
const importId = await resolveDeclarationSource(this, id, transformOptions?.attributes, declaration);
|
|
280
|
-
if (!importId || !filter(importId.id)) return null;
|
|
280
|
+
if (!importId || importId.external || !filter(importId.id)) return null;
|
|
281
281
|
return {
|
|
282
282
|
declaration,
|
|
283
283
|
id: importId.id
|
package/package.json
CHANGED