From 0cb4fd19a9a1274759b6dcf10d92a2e583026d02 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 3 Feb 2025 21:20:16 +0100 Subject: [PATCH] include vite.config --- tsconfig.json | 4 ++-- vite.config.ts | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index efc1cda9..14203569 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,10 +24,10 @@ "#root/*": ["./*"] } }, - "include": ["src"], + "include": ["src", "vite.config.ts"], "exclude": ["node_modules", "dist", "example", "rollup.config.mjss"], "typeRoots": [ "./types", "./node_modules/@types/" ] - } \ No newline at end of file + } diff --git a/vite.config.ts b/vite.config.ts index 0d8c4509..e4098566 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,10 @@ -import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite' export default defineConfig({ plugins: [react()], test: { globals: true, - environment: 'happy-dom' + environment: 'happy-dom', }, }) -