tsdown-config-silverwind 2.0.0 → 2.0.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.js +4 -4
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -26,13 +26,13 @@ function base({ url, entry, report, loader, outputOptions, deps, ...other }) {
26
26
  },
27
27
  outputOptions: {
28
28
  comments: { legal: false },
29
- ...outputOptions
29
+ ...isObject(outputOptions) && outputOptions
30
30
  },
31
31
  fixedExtension: false,
32
32
  failOnWarn: true,
33
33
  globImport: false,
34
34
  deps: {
35
- onlyAllowBundle: false,
35
+ onlyBundle: false,
36
36
  ...deps
37
37
  },
38
38
  ...other
@@ -46,7 +46,7 @@ function nodeLib({ url, entry, outputOptions, ...other }) {
46
46
  minify: false,
47
47
  outputOptions: {
48
48
  ...isSingleEntry(entry) && { codeSplitting: false },
49
- ...outputOptions
49
+ ...isObject(outputOptions) && outputOptions
50
50
  },
51
51
  url,
52
52
  ...other
@@ -70,7 +70,7 @@ function nodeCli({ url, entry, outputOptions, ...other }) {
70
70
  minify: true,
71
71
  outputOptions: {
72
72
  ...isSingleEntry(entry) && { codeSplitting: false },
73
- ...outputOptions
73
+ ...isObject(outputOptions) && outputOptions
74
74
  },
75
75
  url,
76
76
  ...other
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdown-config-silverwind",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Shared tsdown configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/tsdown-config-silverwind",
@@ -20,15 +20,15 @@
20
20
  "tsdown": "*"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "25.3.3",
24
- "@typescript/native-preview": "7.0.0-dev.20260305.1",
25
- "eslint": "9.39.3",
26
- "eslint-config-silverwind": "121.2.0",
23
+ "@types/node": "25.4.0",
24
+ "@typescript/native-preview": "7.0.0-dev.20260311.1",
25
+ "eslint": "9.39.4",
26
+ "eslint-config-silverwind": "124.0.7",
27
27
  "jest-extended": "7.0.0",
28
- "tsdown": "0.21.0",
28
+ "tsdown": "0.21.2",
29
29
  "typescript": "5.9.3",
30
30
  "typescript-config-silverwind": "15.0.0",
31
- "updates": "17.8.1",
31
+ "updates": "17.9.0",
32
32
  "updates-config-silverwind": "1.0.3",
33
33
  "versions": "14.2.1",
34
34
  "vitest": "4.0.18",