mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-25 06:35:21 +00:00
Install @perfect-design/ui 0.3.10 with the workbench style pack, IBM Plex faces and the inline theme boot script. The app shell uses AppHeader, AppShell and SidebarNav. Shared formatters, severity tones and icon data replace the per-view copies. A test checks that main.css scans only the library directories the app imports.
19 lines
457 B
TypeScript
19 lines
457 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/test/setup.ts'],
|
|
// main.spec.ts reads main.css as text; vitest otherwise replaces stylesheets with an empty string.
|
|
css: { include: [/main\.css/] },
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': import.meta.dirname + '/src',
|
|
},
|
|
},
|
|
})
|