tsdown-config-silverwind 1.3.0 → 1.4.0

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 +5 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ function fixEntry(entry) {
17
17
  }));
18
18
  else return entry;
19
19
  }
20
- const base = ({ url, entry, report, loader,...other }) => {
20
+ const base = ({ url, entry, report, loader, outputOptions,...other }) => {
21
21
  return {
22
22
  entry: fixEntry(entry ?? fileURLToPath(new URL("index.ts", url))),
23
23
  report: typeof report === "boolean" ? report : {
@@ -32,6 +32,10 @@ const base = ({ url, entry, report, loader,...other }) => {
32
32
  ".txt": "text",
33
33
  ...loader
34
34
  },
35
+ outputOptions: {
36
+ legalComments: "none",
37
+ ...outputOptions
38
+ },
35
39
  ...other
36
40
  };
37
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdown-config-silverwind",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Shared tsdown configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/tsdown-config-silverwind",
@@ -23,8 +23,8 @@
23
23
  "tsdown": "0.15.5",
24
24
  "typescript": "5.9.2",
25
25
  "typescript-config-silverwind": "10.0.2",
26
- "updates": "16.7.2",
27
- "versions": "13.1.2",
26
+ "updates": "16.7.3",
27
+ "versions": "13.2.0",
28
28
  "vitest": "3.2.4",
29
29
  "vitest-config-silverwind": "10.2.0"
30
30
  }