From 570453414817d5edcc73aaa2e754fa876f3fbd2a Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sun, 27 Apr 2025 12:15:53 +0900 Subject: [PATCH] docs: fix example in api-environment-frameworks.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolve #1932 https://github.com/vitejs/vite/commit/b5f70dda08a4b87059f3e5f5e0de823270018a1a の反映です。 --- guide/api-environment-frameworks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/api-environment-frameworks.md b/guide/api-environment-frameworks.md index 1f64d175..512c3879 100644 --- a/guide/api-environment-frameworks.md +++ b/guide/api-environment-frameworks.md @@ -160,7 +160,7 @@ const server = createServer() const ssrEnvironment = server.environment.ssr const input = {} -const { createHandler } = await ssrEnvironment.runner.import('./entry.js') +const { createHandler } = await ssrEnvironment.runner.import('./entrypoint.js') const handler = createHandler(input) const response = handler(new Request('/'))