rolldown-plugin-dts 0.7.3 → 0.7.4

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -642,8 +642,8 @@ function createGeneratePlugin({ compilerOptions, isolatedDeclaration: isolatedDe
642
642
  id: dtsId,
643
643
  name: name ? `${name}.d` : void 0
644
644
  });
645
- if (emitDtsOnly) return "//";
646
645
  }
646
+ if (emitDtsOnly) return "export { }";
647
647
  }
648
648
  },
649
649
  async resolveId(id, importer, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown-plugin-dts",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "A Rolldown plugin to bundle dts files",
5
5
  "type": "module",
6
6
  "license": "MIT",