mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
353 B
18 lines
353 B
import { dirname, resolve } from 'path'
|
|
import { fileURLToPath } from 'url'
|
|
import { defineConfig } from 'vite'
|
|
|
|
const dir = dirname(fileURLToPath(import.meta.url))
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
node: resolve(dir, '../src/node'),
|
|
client: resolve(dir, '../src/client')
|
|
}
|
|
},
|
|
test: {
|
|
globals: true
|
|
}
|
|
})
|