mirror of
https://github.com/benngaihk/Tiptap-UI-Kit.git
synced 2026-12-05 08:00:42 +00:00
🎉 Tiptap UI Kit is now fully open source! This is a complete rewrite of git history for security reasons. All sensitive information has been removed. Features: - AI-powered rich text editing - 5 beautiful theme presets - Full dark mode support - Real-time collaboration - i18n support (zh-CN, zh-TW, en-US) Clean slate for the open source community! 🚀 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
30 lines
602 B
TypeScript
30 lines
602 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { resolve } from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'happy-dom',
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: [
|
|
'node_modules/',
|
|
'dist/',
|
|
'demo/',
|
|
'**/*.d.ts',
|
|
'**/*.config.{ts,js}',
|
|
'**/index.ts',
|
|
],
|
|
},
|
|
include: ['src/**/*.{test,spec}.{ts,tsx}'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(__dirname, 'src'),
|
|
},
|
|
},
|
|
})
|