You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If `true`, the plugin will generate declaration maps (`.d.ts.map`) for `.d.ts` files.
83
83
84
-
#### `resolve`
85
-
86
-
Controls whether type definitions from `node_modules` are bundled into your final `.d.ts` file or kept as external `import` statements.
87
-
88
-
By default, dependencies are external, resulting in `import { Type } from 'some-package'`. When bundled, this `import` is removed, and the type definitions from `some-package` are copied directly into your file.
89
-
90
-
-`true`: Bundles all dependencies.
91
-
-`false`: (Default) Keeps all dependencies external.
92
-
-`(string | RegExp)[]`: Bundles only dependencies matching the provided strings or regular expressions (e.g. `['pkg-a', /^@scope\//]`).
93
-
94
84
#### `resolver`
95
85
96
86
Specifies a resolver to resolve type definitions, especially for `node_modules`.
* Controls whether type definitions from `node_modules` are bundled into your final `.d.ts` file or kept as external `import` statements.
63
-
*
64
-
* By default, dependencies are external, resulting in `import { Type } from 'some-package'`. When bundled, this `import` is removed, and the type definitions from `some-package` are copied directly into your file.
65
-
66
-
* - `true`: Bundles all dependencies.
67
-
* - `false`: (Default) Keeps all dependencies external.
68
-
* - `(string | RegExp)[]`: Bundles only dependencies matching the provided strings or regular expressions (e.g. `['pkg-a', /^@scope\//]`).
69
-
*/
70
-
resolve?: boolean|(string|RegExp)[]
71
-
72
61
/**
73
62
* Specifies a resolver to resolve type definitions, especially for `node_modules`.
74
63
*
@@ -231,7 +220,6 @@ export function resolveOptions({
231
220
tsconfigRaw: overriddenTsconfigRaw={},
232
221
compilerOptions ={},
233
222
sourcemap,
234
-
resolve =false,
235
223
resolver ='oxc',
236
224
cjsDefault =false,
237
225
sideEffects =false,
@@ -331,7 +319,6 @@ export function resolveOptions({
0 commit comments