Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support edge wasm module and asset similar to Next.js #618

Merged
merged 18 commits into from
Aug 19, 2024

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Aug 19, 2024

We can probably extend #614 and support @vercel/og edge build.

todo

  • transform import "xxx.wasm?module"
  • transform fetch(new URL("xxx", import.meta.url))
  • test local
    • dev
    • build
      • how about supporting this via custom loader on node?
  • test cf
  • test vercel edge (probably works same as cf)
  • test vercel serverless
    • need new URL(..., import.meta.url) asset copy for esbuild
  • add tests

links

Copy link
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on Graphite Graphite

@hi-ogawa hi-ogawa changed the title chore: tweak demo feat: support next edge wasm module and asset Aug 19, 2024
@hi-ogawa hi-ogawa changed the title feat: support next edge wasm module and asset feat: support edge wasm module and asset like next Aug 19, 2024
@hi-ogawa hi-ogawa changed the title feat: support edge wasm module and asset like next feat: support edge wasm module and asset similar to Next.js Aug 19, 2024
@hi-ogawa hi-ogawa marked this pull request as ready for review August 19, 2024 05:22
@hi-ogawa hi-ogawa merged commit c49eae8 into main Aug 19, 2024
10 checks passed
@hi-ogawa hi-ogawa deleted the feat-vercel-og-on-edge branch August 19, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new URL(..., import.meta.url) behavior difference between Vite SSR and Next edge
1 participant