Have you checked for any existing problems?
- [X] I have searched the existing issues
Package Version
0.8.6
Issue Description
An error occurs when attempting to set up wagmi and use it on a mobile browser with NextJS. SyntaxError: Unexpected token '?'.
Expected Outcome
No errors should be thrown.
Steps To Recreate
To reproduce, you can utilize the example application (yarn create wagmi
) and view it in Chrome or any mobile browser. I also tried setting up wagmi configurations in a vanilla NextJS project which resulted in an error. https://github.com/lucaford/wagmi-test
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
The issue can be replicated using the example application
Further Comments
Could it be that wagmi is not compatible with mobile browsers and there is something I am overlooking?
Thank you.