Last 12 weeks · 0 commits
5 of 6 standards met
Clear and concise description of the problem When a file is added or removed from server/functions, the handlers should regenerate. Suggested solution Regenerate handlers on file change Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Description Updates nuxt module builder (does not build cjs by default) and changes the exports to use esm only. This also changes the playground setup slightly (requires running or before it) so that either a stub or a build can be used, the aliases ensure the api/client exports work when using stubs (so maybe we don't want these?). Linked Issues Additional context
Describe the bug When using this module with simply running everything works perfectly, but as soon as we start using it within docker ( dev environment ), we get the wrong path on the generated files. For example, for an app that is running inside a docker container and the whole app is mounted on this path but the actually code on the machine is on this path , the generated files will use the docker mounted path . !image So maybe the solution is to use the relative path instead of the absolute path ? Reproduction Any simple project with the server-fn module running inside a docker container System Info Used Package Manager yarn Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [ ] The provided reproduction is a minimal reproducible of the bug.
Repository: antfu/nuxt-server-fn. Description: Server functions in client for Nuxt 3 Stars: 286, Forks: 12. Primary language: TypeScript. Languages: TypeScript (92.2%), Vue (6.9%), JavaScript (0.9%). License: MIT. Latest release: v1.0.1 (10mo ago). Open PRs: 1, open issues: 6. Last activity: 10mo ago. Community health: 85%. Top contributors: antfu, BobbieGoede, johannschopplich, olivermaldonado, danielroe, wobsoriano, xantiagoma.