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.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-22 16:27:24 +02:00
parent 29ba8447a2
commit 0279ab0910
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@
"exclude": ["node_modules/*", "radicle-httpd/*"],
"compilerOptions": {
"noEmit": true,
"allowImportingTsExtensions": true,
"target": "es2023",
"module": "es2022",
"types": ["vite/client"],
+1 -1
View File
@@ -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: {