This commit is contained in:
2026-05-13 21:49:40 +09:00
parent 0a13c00f37
commit 78143363c9
10 changed files with 224 additions and 318 deletions
+8 -9
View File
@@ -1,12 +1,11 @@
import mdx from '@mdx-js/rollup'
import react from '@vitejs/plugin-react'
import path from 'path'
import { defineConfig } from 'vitest/config'
import { defineConfig, mergeConfig } from 'vitest/config'
import viteConfig from './vite.config'
export default defineConfig ({
plugins: [mdx ({ providerImportSource: '@/mdx-components' }), react ()],
resolve: { alias: { '@': path.resolve (__dirname, './src') } },
test: { environment: 'jsdom',
export default mergeConfig (
viteConfig,
defineConfig ({
test: { environment: 'jsdom',
setupFiles: './src/test/setup.ts',
globals: false } })
globals: false } }))