From 0279ab0910685b6a4bea0bb1f723cc6fc64b40e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 22 Oct 2026 13:59:05 +0200 Subject: [PATCH] explorer: Add file extension to vite plugin import Vite 8.3 warns about extensionless imports in the config, since its native config loader, planned as the default, can't resolve them. --- explorer/tsconfig.json | 1 + explorer/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/explorer/tsconfig.json b/explorer/tsconfig.json index 2d8ffffcc..c77020ecd 100644 --- a/explorer/tsconfig.json +++ b/explorer/tsconfig.json @@ -4,6 +4,7 @@ "exclude": ["node_modules/*", "radicle-httpd/*"], "compilerOptions": { "noEmit": true, + "allowImportingTsExtensions": true, "target": "es2023", "module": "es2022", "types": ["vite/client"], diff --git a/explorer/vite.config.ts b/explorer/vite.config.ts index a3a2c86a7..13e84d111 100644 --- a/explorer/vite.config.ts +++ b/explorer/vite.config.ts @@ -3,7 +3,7 @@ import path from "node:path"; import { defineConfig } from "vitest/config"; import { svelte } from "@sveltejs/vite-plugin-svelte"; -import { assets } from "./vite-plugin-assets"; +import { assets } from "./vite-plugin-assets.ts"; export default defineConfig({ define: {