From e574d3275898fa7b3d8a8047e6be10cfcf871eeb Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Tue, 12 Nov 2024 17:36:59 +0900 Subject: [PATCH] chore: remove unused --- viteroll/examples/ssr/src/entry-server.tsx | 1 - viteroll/viteroll.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/viteroll/examples/ssr/src/entry-server.tsx b/viteroll/examples/ssr/src/entry-server.tsx index fc06169..ca78c2e 100644 --- a/viteroll/examples/ssr/src/entry-server.tsx +++ b/viteroll/examples/ssr/src/entry-server.tsx @@ -13,7 +13,6 @@ const handler: Connect.SimpleHandleFunction = (req, res) => { -
${ssrHtml}
diff --git a/viteroll/viteroll.ts b/viteroll/viteroll.ts index 1e10114..f35e3e3 100644 --- a/viteroll/viteroll.ts +++ b/viteroll/viteroll.ts @@ -114,7 +114,6 @@ export function viteroll(viterollOptions: ViterollOptions = {}): Plugin { // reuse /@vite/client for Websocket API and inject to rolldown:runtime function getRolldownClientCode(config: ResolvedConfig) { - config.base; const viteClientPath = require.resolve("vite/dist/client/client.mjs"); let code = fs.readFileSync(viteClientPath, "utf-8"); const replacements = {