Skip to content

Commit

Permalink
fix: wrangler
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Nov 16, 2023
1 parent f13fec0 commit b4d8b1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -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({})
Expand Down
1 change: 0 additions & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ name = "cdc-cy"
compatibility_date = "2023-11-09"
account_id = "271eeb53885906a3b50a8cb07c5f0763"
compatibility_flags = [ "nodejs_compat" ]
main = "./dist/server.js"

0 comments on commit b4d8b1e

Please sign in to comment.