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 cf355d3 commit a8889dcCopy full SHA for a8889dc
src/config.ts
@@ -85,7 +85,7 @@ export async function defineConfig(userConfig: ViteUserConfig = {}): Promise<Vit
85
],
86
globalSetup: resolvedNitroConfig.global
87
? [
88
- join(currentDir, 'setup.mjs'),
+ join(currentDir, 'setup.js'),
89
]
90
: undefined,
91
// @ts-expect-error: Append Nitro for global setup file
tsdown.config.ts
@@ -6,13 +6,15 @@ const config: UserConfig | UserConfigFn = defineConfig({
6
index: 'src/index.ts',
7
config: 'src/config.ts',
8
e2e: 'src/e2e.ts',
9
+ setup: 'src/setup.ts',
10
},
11
external: [
12
'vite',
13
'vitest',
14
'vitest/config',
15
16
dts: true,
17
+ unbundle: true,
18
})
19
20
export default config
0 commit comments