@qavajs/html-formatter
Version:
Single file HTML formatter for cucumber framework
23 lines (21 loc) • 623 B
JavaScript
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import svgr from 'vite-plugin-svgr';
import { viteSingleFile } from "vite-plugin-singlefile"
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svgr({ include: "**/*.svg?react" }), react(), viteSingleFile()],
optimizeDeps: {},
test: {
include: ['**/*.test.tsx'],
globals: true,
environment: 'jsdom',
setupFiles: 'vitest-setup.js',
deps: {
web: {
transformCss: false,
transformAssets: false,
},
},
},
});