diff --git a/packages/angular-query-persist-client/tsup.config.ts b/packages/angular-query-persist-client/tsup.config.ts index 01945e246c..a1e9d23c1c 100644 --- a/packages/angular-query-persist-client/tsup.config.ts +++ b/packages/angular-query-persist-client/tsup.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ sourcemap: true, clean: true, format: ['esm'], - experimentalDts: true, + dts: true, outDir: 'build', outExtension({ format }) { return format === 'esm' ? { js: '.mjs' } : { js: '.js' } diff --git a/packages/eslint-plugin-query/root.tsup.config.js b/packages/eslint-plugin-query/root.tsup.config.js index b2f38467f3..c747a6fb8d 100644 --- a/packages/eslint-plugin-query/root.tsup.config.js +++ b/packages/eslint-plugin-query/root.tsup.config.js @@ -11,7 +11,7 @@ export function modernConfig(opts) { format: ['cjs', 'esm'], target: ['chrome91', 'firefox90', 'edge91', 'safari15', 'ios15', 'opera77'], outDir: 'build/modern', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, external: ['typescript'], @@ -38,7 +38,7 @@ export function legacyConfig(opts) { format: ['cjs', 'esm'], target: ['es2020', 'node16'], outDir: 'build/legacy', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, external: ['typescript'], diff --git a/packages/preact-query-devtools/root.tsup.config.js b/packages/preact-query-devtools/root.tsup.config.js index d5b879678b..28fd7edde9 100644 --- a/packages/preact-query-devtools/root.tsup.config.js +++ b/packages/preact-query-devtools/root.tsup.config.js @@ -13,7 +13,7 @@ export function modernConfig(opts) { format: ['cjs', 'esm'], target: ['chrome91', 'firefox90', 'edge91', 'safari15', 'ios15', 'opera77'], outDir: 'build/modern', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], @@ -31,7 +31,7 @@ export function legacyConfig(opts) { format: ['cjs', 'esm'], target: ['es2020', 'node16'], outDir: 'build/legacy', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], diff --git a/scripts/getTsupConfig.js b/scripts/getTsupConfig.js index d5b879678b..28fd7edde9 100644 --- a/scripts/getTsupConfig.js +++ b/scripts/getTsupConfig.js @@ -13,7 +13,7 @@ export function modernConfig(opts) { format: ['cjs', 'esm'], target: ['chrome91', 'firefox90', 'edge91', 'safari15', 'ios15', 'opera77'], outDir: 'build/modern', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })], @@ -31,7 +31,7 @@ export function legacyConfig(opts) { format: ['cjs', 'esm'], target: ['es2020', 'node16'], outDir: 'build/legacy', - experimentalDts: true, + dts: true, sourcemap: true, clean: true, esbuildPlugins: [esbuildPluginFilePathExtensions({ esmExtension: 'js' })],