rolldown-plugin-concurrent-top-level-await 0.3.0 → 0.3.2
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/README.md +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
> [!Warning]
|
|
2
|
-
> This plugin is
|
|
2
|
+
> This plugin uses Rolldown-specific APIs and is therefore not compatible with Rollup or Vite <= 7. For Rollup compatibility use [rollup-plugin-concurrent-top-level-await](https://www.npmjs.com/package/rollup-plugin-concurrent-top-level-await).
|
|
3
3
|
|
|
4
4
|
# rolldown-plugin-concurrent-top-level-await
|
|
5
5
|
|
package/dist/index.mjs
CHANGED
|
@@ -377,7 +377,7 @@ function transformPlugin(options) {
|
|
|
377
377
|
if (hasAwait) asyncTracker.setDependencies(id, []);
|
|
378
378
|
let imports = (await Promise.all(importDeclarations.map(async (declaration) => {
|
|
379
379
|
const importId = await resolveDeclarationSource(this, id, declaration);
|
|
380
|
-
if (!importId || !options.filter.includes(importId.id)) return null;
|
|
380
|
+
if (!importId || importId.external || !options.filter.includes(importId.id)) return null;
|
|
381
381
|
return {
|
|
382
382
|
declaration,
|
|
383
383
|
id: importId.id
|
package/package.json
CHANGED