Match the .well-known directory when generating routes.json (#7776)
* Match the .well-known directory when generating routes.json * add changeset * Update .changeset/clean-planets-retire.md --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
This commit is contained in:
parent
c0708c921c
commit
f5c617e3a3
2 changed files with 6 additions and 0 deletions
5
.changeset/clean-planets-retire.md
Normal file
5
.changeset/clean-planets-retire.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/cloudflare': patch
|
||||
---
|
||||
|
||||
Include generated files starting with a dot in \_routes.json
|
|
@ -538,6 +538,7 @@ export default function createIntegration(args?: Options): AstroIntegration {
|
|||
await glob(`${fileURLToPath(_buildConfig.client)}/**/*`, {
|
||||
cwd: fileURLToPath(_config.outDir),
|
||||
filesOnly: true,
|
||||
dot: true,
|
||||
})
|
||||
)
|
||||
.filter((file: string) => cloudflareSpecialFiles.indexOf(file) < 0)
|
||||
|
|
Loading…
Reference in a new issue