Is it possible to disable 'minify' in preview and production builds?

I keep getting this error unexpected token name «n», expected punc «,». I’ve narrowed it down to being caused by the minifier. If I run expo start --dev-client my app builds and runs completely fine, but if I run expo start --dev-client --minify, my app doesn’t build and I get an error on a line that doesn’t exist. This is also preventing me from building in preview and production mode.