Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

onmax/nuxthub-d1-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuxtHub D1 Binding Bug Repro

Repro for nuxt-hub/core#692. Fix: PR #694

Repro

git clone https://github.com/onmax/nuxthub-d1-repro.git && cd nuxthub-d1-repro
pnpm install && NITRO_PRESET=cloudflare-module pnpm build
cat node_modules/.cache/nuxt/.nuxt/hub/db.mjs

Branches

  • main - shows bug (binding accessed at module load)
  • with-fix - shows fix (lazy Proxy)
  • PR diff

About

Minimal repro for nuxt-hub/core#692 - D1 binding accessed at module load time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors