UNPKG

c4dslbuilder

Version:

A CLI tool designed to compile a folder structure of markdowns and mermaid files into a site, pdf, single file markdown or a collection of markdowns with links - inspired by c4builder

26 lines (25 loc) 686 B
import { defineConfig } from 'vite' export default defineConfig({ test: { globals: true, isolate: true, environment: 'node', mockReset: true, reporters: ['default', ['vitest-sonar-reporter', { outputFile: './coverage/sonar-report.xml' }]], resolveSnapshotPath: (testPath, snapExtension) => testPath.replace(/\.ts$/, `.spec${snapExtension}`), include: ['src/**/*.spec.ts'], alias: [ { find: /(\.{1,2}\/.*)\.js$/, replacement: '$1' }, ], coverage: { reporter: ['lcov', 'text', 'html'], exclude: [ 'lib/**', '**/node_modules/**', '**/*.config.mjs', '**/*.config.ts', ], }, }, })