From b4d8b1e9595ff355c4804412602e2391074c2813 Mon Sep 17 00:00:00 2001 From: Patrick Heneise Date: Thu, 16 Nov 2023 18:37:55 -0500 Subject: [PATCH] fix: wrangler --- vite.config.js | 22 +++++++++++----------- wrangler.toml | 1 - 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/vite.config.js b/vite.config.js index ce7b312..bd97117 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,20 +1,20 @@ import { defineConfig } from 'vite' import solid from 'solid-start/vite' -import devtools from 'solid-devtools/vite' +// import devtools from 'solid-devtools/vite' // import solidSvg from 'vite-plugin-solid-svg' -import cloudflare from 'solid-start-cloudflare-workers' -// import cloudflare from 'solid-start-cloudflare-pages' +// import cloudflare from 'solid-start-cloudflare-workers' +import cloudflare from 'solid-start-cloudflare-pages' export default defineConfig({ plugins: [ - devtools({ - locator: { - targetIDE: 'vscode', - componentLocation: true, - jsxLocation: true - }, - autoname: true // e.g. enable autoname - }), + // devtools({ + // locator: { + // targetIDE: 'vscode', + // componentLocation: true, + // jsxLocation: true + // }, + // autoname: true // e.g. enable autoname + // }), // solidSvg(), solid({ adapter: cloudflare({}) diff --git a/wrangler.toml b/wrangler.toml index cf31e1e..d726584 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -2,4 +2,3 @@ name = "cdc-cy" compatibility_date = "2023-11-09" account_id = "271eeb53885906a3b50a8cb07c5f0763" compatibility_flags = [ "nodejs_compat" ] -main = "./dist/server.js" \ No newline at end of file