Closed oleghalin closed 1 year ago
I think it should be something like (url: URL, ....) => URL, instead of string
https://github.com/nuxt-modules/partytown/blob/6272be253c90c7dca2a925fe9bcdf31bf25ec927/src/module.ts#L38
It should indeed, but it needs to be passed as a string of raw code, as the comment above it says. (PR always welcome to make this clearer.)
I think it should be something like (url: URL, ....) => URL, instead of string
https://github.com/nuxt-modules/partytown/blob/6272be253c90c7dca2a925fe9bcdf31bf25ec927/src/module.ts#L38