Hello ! currently working with Papaparse and trying to deploy to cloudflare pages :
[log] [nuxi] Nuxt 4.0.1 with Nitro 2.12.4
22:56:54.801 [warn] [@nuxt/supabase] The `cookieRedirect` option is deprecated, use `saveRedirectToCookie` instead.
22:56:54.802 [warn] [@nuxt/supabase] The `cookieName` option is deprecated, use `cookiePrefix` instead.
22:56:57.242 [info] Nuxt Icon server bundle mode is set to `remote`
22:56:57.405 [info] [nuxi] Building for Nitro preset: `cloudflare-pages`
22:56:58.330 [info] Building client...
22:56:58.350 [info] vite v7.0.5 building for production
I ended up using :
replace: {
'typeof window': '`undefined`',
}
In my nuxt.config.ts it does not feels right. Any clean solution ahead ?
The main issue is explained here: https://github.com/mholt/PapaParse/issues/1056
Thanks for your help