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
Hi,
With: import ReactGA from 'react-ga4'; ReactGA.initialize('G-8XZ6X4KJQH');
I am having this error Uncaught TypeError: import_react_ga4.default.initialize is not a function
Uncaught TypeError: import_react_ga4.default.initialize is not a function
It seems to work if I use ReactGA.default.initialize('G-8XZ6X4KJQH');
ReactGA.default.initialize('G-8XZ6X4KJQH');
using ESBuild 0.15.12
Thanks
The text was updated successfully, but these errors were encountered:
I'm experiencing the same issue. Also using esbuild.
Sorry, something went wrong.
This is probably due to the fact that you have type: module in your package.json. You can read more here https://esbuild.github.io/content-types/#default-interop)
Did anyone managed to workaround this ?
No branches or pull requests
Hi,
With:
import ReactGA from 'react-ga4';
ReactGA.initialize('G-8XZ6X4KJQH');
I am having this error
Uncaught TypeError: import_react_ga4.default.initialize is not a function
It seems to work if I use
ReactGA.default.initialize('G-8XZ6X4KJQH');
using ESBuild 0.15.12
Thanks
The text was updated successfully, but these errors were encountered: