I'm working on a react-native web project using Expo's new web feature. I'd love to statically serve some OneSignal service worker files (OneSignalSDKUpdaterWorker.js and OneSignalSDKWorker.js). I placed both files in the /assets folder, but when I ran expo web:build they didn't show up. I expect that somewhere in the bundler, it is told to ignore JS files.
Is there a configuration that will allow me to get the bundler to transfer the JS files to the build so that I can statically serve them? I know I could manually add them to the dist folder, but that would be rather inelegant.
Here's how:
https://docs.expo.dev/guides/customizing-metro/#static-files