rolldown-plugin-dts 0.13.1 → 0.13.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/dist/index.js CHANGED
@@ -658,7 +658,7 @@ function createGeneratePlugin({ tsconfigRaw, tsconfigDir, isolatedDeclarations,
658
658
  return {
659
659
  name: "rolldown-plugin-dts:generate",
660
660
  async buildStart(options) {
661
- if (!parallel && (!isolatedDeclarations || vue)) ({tscEmit} = await import("./tsc-JgclC8th.js"));
661
+ if (!parallel && (!isolatedDeclarations || vue)) ({tscEmit} = await import("./tsc-DdDznNNO.js"));
662
662
  if (!Array.isArray(options.input)) for (const [name, id] of Object.entries(options.input)) {
663
663
  debug$1("resolving input alias %s -> %s", name, id);
664
664
  let resolved = await this.resolve(id);
@@ -0,0 +1,3 @@
1
+ import { tscEmit } from "./tsc-X8bZ3_Mk.js";
2
+
3
+ export { tscEmit };
@@ -80,7 +80,7 @@ function createTsProgram({ entries, id, tsconfigRaw, tsconfigDir, vue }) {
80
80
  ...defaultCompilerOptions,
81
81
  ...parsedCmd.options
82
82
  };
83
- const rootNames = [...new Set([id, ...entries || parsedCmd.fileNames])];
83
+ const rootNames = [...new Set([id, ...entries || parsedCmd.fileNames].map((f) => ts.sys.resolvePath(f)))];
84
84
  const host = ts.createCompilerHost(compilerOptions, true);
85
85
  const createProgram = vue ? createVueProgramFactory(ts) : ts.createProgram;
86
86
  const program = createProgram({
@@ -1,4 +1,4 @@
1
- import { tscEmit } from "../tsc-oL0S5coZ.js";
1
+ import { tscEmit } from "../tsc-X8bZ3_Mk.js";
2
2
  import process from "node:process";
3
3
  import { createBirpc } from "birpc";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown-plugin-dts",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "A Rolldown plugin to bundle dts files",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,3 +0,0 @@
1
- import { tscEmit } from "./tsc-oL0S5coZ.js";
2
-
3
- export { tscEmit };