shadowwalker / next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰
MIT License
3.75k stars 311 forks source link

When i bump from 5.5.6 to 5.6.0 locales now undefined in getStaticPaths context #408

Open mattmillen888 opened 1 year ago

mattmillen888 commented 1 year ago

When i upgrade from 5.5.6 to 5.6.0 "locals" in context is no longer available it is showing undefined in my getStaticPaths

export async function getStaticPaths({ locales })

If I roll back to 5.5.6 it works fine again. It's affecting the locales context