rolldown-plugin-dts 0.22.0 → 0.22.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -519,6 +519,7 @@ function patchTsNamespace(nodes) {
519
519
  const result = handleExport(node);
520
520
  if (!result) continue;
521
521
  const [binding, exports] = result;
522
+ if (!exports.properties.length) continue;
522
523
  nodes[i] = {
523
524
  type: "TSModuleDeclaration",
524
525
  id: binding,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rolldown-plugin-dts",
3
3
  "type": "module",
4
- "version": "0.22.0",
4
+ "version": "0.22.1",
5
5
  "description": "A Rolldown plugin to generate and bundle dts files.",
6
6
  "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",