@savvy-web/bundler 2.3.3 → 2.3.5
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/index.d.ts +10 -4
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -63,9 +63,11 @@ interface BuildConfigInput {
|
|
|
63
63
|
* Force-bundle (inline) these packages into the JS output, even ones declared in
|
|
64
64
|
* package.json that would otherwise be auto-externalized. The inverse of `externals`;
|
|
65
65
|
* maps to tsdown `deps.alwaysBundle`. Accepts package names. Use when you declare a
|
|
66
|
-
* dependency for metadata/types but want its code inlined.
|
|
67
|
-
*
|
|
68
|
-
*
|
|
66
|
+
* dependency for metadata/types but want its code inlined. Applies to the JS pass and
|
|
67
|
+
* the dts pass identically — including the dual-format `.cjs` chunk the dts pass
|
|
68
|
+
* re-emits — so a force-bundled dependency stays inlined in every emitted format.
|
|
69
|
+
* Declarations are NOT inlined by this option — use `bundledPackages` to also roll a
|
|
70
|
+
* package's types into the emitted `.d.ts`.
|
|
69
71
|
*/
|
|
70
72
|
readonly bundle?: ReadonlyArray<string> | undefined;
|
|
71
73
|
/**
|
|
@@ -173,7 +175,11 @@ interface BuildConfig {
|
|
|
173
175
|
* inlining node_modules types into the `.d.ts`. Defaults to false.
|
|
174
176
|
*/
|
|
175
177
|
readonly bundleNodeModules?: boolean | undefined;
|
|
176
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* Force-bundle (inline) these packages into the JS output (tsdown `deps.alwaysBundle`).
|
|
180
|
+
* Inverse of `externals`. Applies identically to the JS pass and the dts pass (including
|
|
181
|
+
* its re-emitted dual-format `.cjs` chunk).
|
|
182
|
+
*/
|
|
177
183
|
readonly bundle?: ReadonlyArray<string> | undefined;
|
|
178
184
|
/** Minify prod output (prod groups only; dev is never minified). defineBuild defaults this to false. */
|
|
179
185
|
readonly minify?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/bundler",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Zero-config tsdown-based bundler for Silk Suite TypeScript packages",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/bundler",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@savvy-web/tsdown-plugins": "2.7.
|
|
40
|
+
"@savvy-web/tsdown-plugins": "2.7.5",
|
|
41
41
|
"@tsdown/exe": "^0.23.0",
|
|
42
|
-
"effect": "4.0.0-rc.
|
|
43
|
-
"rolldown": "^1.2.
|
|
42
|
+
"effect": "4.0.0-rc.115",
|
|
43
|
+
"rolldown": "^1.2.8",
|
|
44
44
|
"tsdown": "^0.23.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@resvg/resvg-js": "^2.6.2",
|
|
48
48
|
"@types/node": "^26.5.0",
|
|
49
|
-
"@types/react": "^19.
|
|
50
|
-
"@types/react-dom": "^19.
|
|
51
|
-
"react": "^19.
|
|
52
|
-
"react-dom": "^19.
|
|
49
|
+
"@types/react": "^19.3.0",
|
|
50
|
+
"@types/react-dom": "^19.3.0",
|
|
51
|
+
"react": "^19.3.0",
|
|
52
|
+
"react-dom": "^19.3.0",
|
|
53
53
|
"satori": "^0.33.4",
|
|
54
54
|
"typescript": "^7.0.0"
|
|
55
55
|
},
|