We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While using phantom wagmi connector, getting error that cannot use import statement outside a module.
.......node_modules\phantom-wagmi-connector\dist\index.js:1 import { ConnectorNotFoundError, InjectedConnector, } from "@wagmi/core"; ^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered:
In your next config, add it to the transpiled packages:
const nextConfig = { // ... your config transpilePackages: ['phantom-wagmi-connector'], };
Sorry, something went wrong.
No branches or pull requests
While using phantom wagmi connector, getting error that cannot use import statement outside a module.
.......node_modules\phantom-wagmi-connector\dist\index.js:1
import { ConnectorNotFoundError, InjectedConnector, } from "@wagmi/core";
^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered: