Including static files ( like json) in expo web build?

Hello, I’m looking to serve some static json files in the final bundle that i can request separately over http similar to how create react apps public folder works.

Does anyone have any idea how I can accomplish this by overriding the webpack expo web ships with?

Thank you

turns out any files in the web folder get published, but since i wanted to share these files with the apps as well, i modified the webpack config to add my own custom CopyPlugin to make sure these files end up in the final build

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.