File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export interface DepsConfig {
2929 alwaysBundle ?: Arrayable < string | RegExp > | NoExternalFn ;
3030 onlyBundle ?: Arrayable < string | RegExp > | false ;
3131 onlyImport ?: Arrayable < string | RegExp > ;
32- onlyAllowBundle ?: Arrayable < string | RegExp > | false ;
3332 skipNodeModulesBundle ?: boolean ;
3433 resolveDepSubpath ?: boolean ;
3534 dts ?: Pick < DepsConfig , "alwaysBundle" | "neverBundle" > ;
Original file line number Diff line number Diff line change @@ -207,7 +207,6 @@ The following top-level options are deprecated. Please migrate to the `deps` nam
207207| ` external ` | ` deps.neverBundle ` |
208208| ` noExternal ` | ` deps.alwaysBundle ` |
209209| ` inlineOnly ` | ` deps.onlyBundle ` |
210- | ` deps.onlyAllowBundle ` | ` deps.onlyBundle ` |
211210| ` skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
212211| ` deps.skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
213212
Original file line number Diff line number Diff line change @@ -207,7 +207,6 @@ export default defineConfig({
207207| ` external ` | ` deps.neverBundle ` |
208208| ` noExternal ` | ` deps.alwaysBundle ` |
209209| ` inlineOnly ` | ` deps.onlyBundle ` |
210- | ` deps.onlyAllowBundle ` | ` deps.onlyBundle ` |
211210| ` skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
212211| ` deps.skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
213212
Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ tsdown --deps.skip-node-modules-bundle
263263| ` external ` | ` deps.neverBundle ` |
264264| ` noExternal ` | ` deps.alwaysBundle ` |
265265| ` inlineOnly ` | ` deps.onlyBundle ` |
266- | ` deps.onlyAllowBundle ` | ` deps.onlyBundle ` |
267266| ` skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
268267| ` deps.skipNodeModulesBundle ` | ` deps.neverBundle: true ` |
269268
Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ export interface DepsConfig {
7878 * `require` calls are not detected.
7979 */
8080 onlyImport ?: Arrayable < string | RegExp >
81- /**
82- * @deprecated Use {@linkcode onlyBundle} instead.
83- */
84- onlyAllowBundle ?: Arrayable < string | RegExp > | false
8581 /**
8682 * Skip bundling all `node_modules` dependencies.
8783 *
@@ -159,17 +155,6 @@ export function resolveDepsConfig(
159155 logger ?. warn ( '`inlineOnly` is deprecated. Use `deps.onlyBundle` instead.' )
160156 onlyBundle = config . inlineOnly
161157 }
162- if ( config . deps ?. onlyAllowBundle != null ) {
163- if ( onlyBundle != null ) {
164- throw new TypeError (
165- '`deps.onlyAllowBundle` is deprecated. Cannot be used with `deps.onlyBundle`.' ,
166- )
167- }
168- logger ?. warn (
169- '`deps.onlyAllowBundle` is deprecated. Use `deps.onlyBundle` instead.' ,
170- )
171- onlyBundle = config . deps . onlyAllowBundle
172- }
173158 if ( config . skipNodeModulesBundle != null ) {
174159 if ( config . deps ?. skipNodeModulesBundle != null ) {
175160 throw new TypeError (
You can’t perform that action at this time.
0 commit comments