From 310724b346fad0fcfad07108b84ff20ad0adb806 Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Tue, 13 Jan 2026 13:48:12 +0100 Subject: [PATCH] Update vite config for node 22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There used to be a warning: > ▲ [WARNING] The "assert" keyword is not supported > in the configured target environment > ("node22.21.1") [assert-to-with] This changes fixes that. --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index bedd2341..20316b3f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,7 +3,7 @@ import tailwindcss from '@tailwindcss/vite' import path from 'node:path' import { defineConfig, UserConfig } from 'vite' import react from '@vitejs/plugin-react' -import pkg from './package.json' assert { type: 'json' } +import pkg from './package.json' with { type: 'json' } export default defineConfig({ base: './',