MCPcopy Create free account
hub / github.com/TanStack/query / legacyConfig

Function legacyConfig

packages/react-query-devtools/root.tsdown.config.js:29–40  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

27 * @returns {import('tsdown').UserConfig}
28 */
29export function legacyConfig(opts) {
30 return {
31 entry: opts.entry,
32 format: ['cjs', 'esm'],
33 target: ['es2020', 'node16'],
34 outDir: 'build/legacy',
35 dts: true,
36 fixedExtension: false,
37 sourcemap: true,
38 clean: true,
39 }
40}

Callers 1

tsdown.config.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected