initial: server + shared
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
import path from 'node:path'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
const projectRoot = path.resolve(__dirname, '..')
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@shared': path.resolve(projectRoot, 'shared'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
fs: {
|
||||
allow: [projectRoot],
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user