Setup CloudFlare in Expo Web page

for now CloudFlare pages globally ignore node_modules folder so after export web page the resources are exported in assets/node_modules folder, so the pages does not working property.

 so instead of use CloudFlare Pages, setup CloudFlare workers then add assetsignore file inside public folder and add worker configuration in your project then it's working

 

public/assetsignore

!assets/node_modules
!assets/node_modules/** 

 

wrangler.jsonc

 

```

{ "name": "wodly", "compatibility_date": "2026-11-19", "assets": { "directory": "./dist", "not_found_handling": "single-page-application" } } 

``` 

 

after that it's working 

https://wodly.bongster88.workers.dev/ 

 




 

댓글

이 블로그의 인기 게시물

Spring REST API 세팅시 PUT, DELETE 오류 잡기

Mac에서 docker 실행시에 행이 발생할때

Update WireGaurd Package to 14 and set hashed password