#'URLSearchParams' is not exported by __vite-browser-external

1 messages · Page 1 of 1 (latest)

spare hawk
#

I assumed using the rollup-plugin-polyfill-node plugin would resolve issues like this but when building my project I still receive the error shown in the title.

spare valve
#

I'm assuming you're trying to do import {URLSearchParams} from 'url'?

You could use URLSearchParams directly as it's a global