This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import mdx from '@mdx-js/rollup'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import path from 'path'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
|
||||
export default defineConfig ({
|
||||
plugins: [mdx ({ providerImportSource: '@/mdx-components' }), react ()],
|
||||
resolve: { alias: { '@': path.resolve (__dirname, './src') } },
|
||||
test: { environment: 'jsdom',
|
||||
setupFiles: './src/test/setup.ts',
|
||||
globals: false } })
|
||||
Reference in New Issue
Block a user