mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
19 lines
407 B
TypeScript
19 lines
407 B
TypeScript
import { resolve } from 'node:path'
|
|
import { defineConfig } from 'vite'
|
|
import { isWindows } from 'std-env'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'#app': resolve('./packages/nuxt/src/app/index.ts'),
|
|
'@nuxt/test-utils': resolve('./packages/test-utils/src/index.ts')
|
|
}
|
|
},
|
|
esbuild: {
|
|
tsconfigRaw: '{}'
|
|
},
|
|
test: {
|
|
testTimeout: isWindows ? 60000 : 10000
|
|
}
|
|
})
|