laiso

Results 13 comments of laiso

In my understanding, the first goal of this Issue is to make HTML response of Next.js SSR work with Cloudflare Workers. Software that have solved similar problems include [Flareact](https://flareact.com/) and...

[next-compute-js](https://github.com/fastly/next-compute-js/tree/main/src/server) has the custom NextServer implementation. so I believe need to build our wrapper for Cloudflare Workers runtime.

I could confirm that 'next-on-pages' works on Cloudflare Pages. It depends on Next v12 and is not fully compatible so some features do not work. However, users who want to...

1.0.0-beta.6.0 released before couple hours ago. after that could not deploy a function to my local project. https://www.npmjs.com/package/@google-cloud/functions-emulator/v/1.0.0-beta.6.0 In workaround I've fixed the issue can not launch functions-emulaor from firebase-tools...

I think it would be better to do this in Vite-build layer. For reference, I wrote a simple Vite plugin, so could someone please try it? https://gist.github.com/laiso/caa8f8ea18451763b70c9c8af9815230

> We could create a package like @hono/vite-build-node, but the gist code would have to be more customized. If there are users who need it, I will open a pull...

@andresgutgon Your project's assets are located under [static/assets/,](https://github.com/latitude-dev/static-embedding-examples/commit/86d0e29bc91617e17811442b813907e852067609#diff-49a811040bc5abb61ed54eb4a23b9700e7afa4d5ee103425163ef9320c857338R18) so you'll need to reference them accordingly. ``` - worker.use('/static/*', serveStatic({ root: './dist' })) + worker.use('/static/*', serveStatic({ root: './dist/static' })) ``` However,...

thanks, I understand your problem, but I haven't figured out how to fix it yet.

>Solved. To make your Vite plugin work I put everything into static folder. By default Rollup put chunk files into assets and statci files into static like the CSS. But...

I like Chroma too. You can find a related pull request at https://github.com/openai/chatgpt-retrieval-plugin/pull/59.