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

Function compiledConfig

packages/solid-query-devtools/tsdown.config.ts:20–41  ·  view source on GitHub ↗
(
  entry: Record<string, string>,
  development: boolean,
  clean: boolean,
)

Source from the content-addressed store, hash-verified

18})
19
20const compiledConfig = (
21 entry: Record<string, string>,
22 development: boolean,
23 clean: boolean,
24): UserConfig => ({
25 ...baseConfig,
26 entry,
27 clean,
28 dts: !development,
29 env: environment(development),
30 ...(development
31 ? {}
32 : {
33 minify: {
34 compress: {
35 dropConsole: true,
36 dropDebugger: true,
37 },
38 },
39 }),
40 plugins: [solid()],
41})
42
43const jsxConfig = (
44 entry: Record<string, string>,

Callers 1

tsdown.config.tsFile · 0.85

Calls 1

environmentFunction · 0.70

Tested by

no test coverage detected