From ab494b11d682cfce1c5192a407a6faad9cf2c6f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20D=C3=A1niel?= Date: Sun, 11 Aug 2024 22:15:01 +0200 Subject: [PATCH] minor --- examples/hono-react-cf-pages/vite.config.js | 2 +- .../hono-react-vercel-edge/{vite.config.ts => vite.config.js} | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename examples/hono-react-vercel-edge/{vite.config.ts => vite.config.js} (96%) diff --git a/examples/hono-react-cf-pages/vite.config.js b/examples/hono-react-cf-pages/vite.config.js index 2a72041..698d0e3 100644 --- a/examples/hono-react-cf-pages/vite.config.js +++ b/examples/hono-react-cf-pages/vite.config.js @@ -7,7 +7,7 @@ export default { plugins: [ react(), vike({ prerender: true }), - vikeNode({ entry: 'server/node-entry.js' }), + vikeNode('server/node-entry.js'), pages({ server: { kind: 'hono', diff --git a/examples/hono-react-vercel-edge/vite.config.ts b/examples/hono-react-vercel-edge/vite.config.js similarity index 96% rename from examples/hono-react-vercel-edge/vite.config.ts rename to examples/hono-react-vercel-edge/vite.config.js index 2ad19d4..cce8e22 100644 --- a/examples/hono-react-vercel-edge/vite.config.ts +++ b/examples/hono-react-vercel-edge/vite.config.js @@ -3,7 +3,6 @@ import esbuild from 'esbuild' import { builtinModules } from 'module' import vikeNode from 'vike-node/plugin' import vike from 'vike/plugin' -import { UserConfig } from 'vite' export default { plugins: [ @@ -40,4 +39,4 @@ export default { } } ] -} as UserConfig +}