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 CHANGED
@@ -1,5 +1,5 @@
1
1
  > [!Warning]
2
- > This plugin is currently in development. For more information, see [this issue](https://github.com/zOadT/concurrent-top-level-await-plugins/issues/35).
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown-plugin-concurrent-top-level-await",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Rolldown (and Vite) plugin enabling concurrent execution of modules that contain top level await.",
5
5
  "keywords": [
6
6
  "rolldown-plugin",