Jeremy Guinn

Results 4 comments of Jeremy Guinn

@kkomelin, I'm also seeing this error, but I have a bit more info relating to it. ```typescript import DOMPurify from 'isomorphic-dompurify'; ``` ``` ./node_modules/jsdom/lib/jsdom/living/generated/utils.js:34 const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* ()...

Here is a [codesandbox ](https://codesandbox.io/p/sandbox/isomorphic-dompurify-issue-replication-m584z4?file=%2Fsrc%2Fapp%2Fapp.component.ts%3A3%2C1-4%2C1) that gets the same error when running dev:ssr

Yeah, I'm able to resolve this by using [@angular-builders/custom-webpack](https://www.npmjs.com/package/@angular-builders/custom-webpack), and using the same solution from #54 by adding the externals so webpack doesn't try to bundle them in the browser...

See this [multiple products test](https://github.com/codler/react-ga4/blob/master/src/ga4.test.js#L63) as an example on how to initialize multiple products (i.e. trackers). There is also this [example ](https://github.com/codler/react-ga4#example) in the readme.