bun-plugin-dtsx 0.21.1 → 0.21.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,4 @@
1
1
  // @bun
2
- // src/index.ts
3
- import process2 from "process";
4
-
5
2
  // node_modules/@stacksjs/dtsx/dist/index.js
6
3
  import l1 from "process";
7
4
  import { resolve as nq } from "path";
@@ -2718,12 +2715,12 @@ function dts(options) {
2718
2715
  return {
2719
2716
  name: "bun-plugin-dtsx",
2720
2717
  async setup(build) {
2721
- const cwd = options?.cwd || process2.cwd();
2718
+ const cwd = options?.cwd;
2722
2719
  const root = options?.root || build.config.root;
2723
2720
  const entrypoints = options?.entrypoints;
2724
2721
  const outdir = options?.outdir || build.config.outdir;
2725
- const clean = options?.clean || false;
2726
- const tsconfigPath = options?.tsconfigPath || "./tsconfig.json";
2722
+ const clean = options?.clean;
2723
+ const tsconfigPath = options?.tsconfigPath;
2727
2724
  await d8({
2728
2725
  ...options,
2729
2726
  cwd,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-dtsx",
3
3
  "type": "module",
4
- "version": "0.21.1",
4
+ "version": "0.21.2",
5
5
  "description": "A Bun Bundler plugin that auto generates your d.ts types extremely fast.",
6
6
  "author": "Chris Breuer <chris@ow3.org>",
7
7
  "license": "MIT",