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

Function compiledConfig

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

Source from the content-addressed store, hash-verified

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

Callers 1

tsdown.config.tsFile · 0.85

Calls 1

environmentFunction · 0.70

Tested by

no test coverage detected