We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a1dc9 commit 073ca58Copy full SHA for 073ca58
tsdown.config.ts
@@ -1,4 +1,10 @@
1
import { defineConfig } from 'tsdown'
2
+import { dependencies } from './package.json'
3
+
4
+const playground = './playground'
5
6
+const thisPath = import.meta.url
7
+const playgroundPath = new URL(playground, thisPath).pathname
8
9
export default defineConfig({
10
entry: ['src/index.ts'],
@@ -14,5 +20,9 @@ export default defineConfig({
14
20
'@graphql-tools/schema',
15
21
'node:fs',
16
22
'node:path',
23
+ ...Object.keys(dependencies || {}),
24
+ ],
25
+ ignoreWatch: [
26
+ playgroundPath,
17
27
],
18
28
})
0 commit comments