From c4538880938a044a0bca2e5a0658ed76cfcbe98d Mon Sep 17 00:00:00 2001 From: Gabriel Garcia Date: Thu, 24 Sep 2026 08:27:00 +0200 Subject: [PATCH] chore(example): rename vite config to .mts to silence native config loader warning The example package is "type": "commonjs" (dev_server.js and api/ use require), so Vite flagged ESM syntax in vite.config.ts as unsupported by the upcoming native config loader. The .mts extension marks just the config as ESM without flipping the whole package. Co-Authored-By: Claude Opus 5.5 (1M context) --- example/tsconfig.node.json | 2 +- example/{vite.config.ts => vite.config.mts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename example/{vite.config.ts => vite.config.mts} (100%) diff --git a/example/tsconfig.node.json b/example/tsconfig.node.json index db0becc8b..dc608fc04 100644 --- a/example/tsconfig.node.json +++ b/example/tsconfig.node.json @@ -20,5 +20,5 @@ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, - "include": ["vite.config.ts"] + "include": ["vite.config.mts"] } diff --git a/example/vite.config.ts b/example/vite.config.mts similarity index 100% rename from example/vite.config.ts rename to example/vite.config.mts