You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it.only('generates functions folder inside the project root',async()=>{expect(awaitfixture.pathExists('../functions')).to.be.true;expect(awaitfixture.pathExists('../functions/[[path]].js')).to.be.true;// this one});
Also, on a side note, running npm run build && npm test in cloudflare folder end up generating the [[path]].js file as a sibling of functions (probably the behaviour you mention).
I should be able to fix it (let me know if someone else wants to try fixing this one)
What version of
astro
are you using?2.0.10
Are you using an SSR adapter? If so, which one?
Cloudflare 6.1.2
What package manager are you using?
npm
What operating system are you using?
mac/Linux
Describe the Bug
Expected:
After build the file [[path]].js is saved at ./functions
Result:
After the build the file [[path]].js is saved at the root instead of the expected destination ./functions
When it started:
This was introduced when updating both astro and the cf adaptor(6.1.2) to the latest
How to reproduce:
npm run build
in the provided stackblitzLink to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-qbsvtj?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: