Closed benweier closed 1 day ago
Have you tried to adapt the config? https://stackoverflow.com/questions/72618944/get-error-to-build-my-project-in-vite-top-level-await-is-not-available-in-the
that should do the trick:
Alternatively, change your import like this:
import backend from 'i18next-http-backend/cjs'
Thanks for the info, and appreciate updating the changelog 👍
v2.7.0 has now been deprecated and v3.0.0 was released
That was quick 🤣
💥 Regression Report
My build now fails under v2.7.0
Last working version
Worked up to version: 2.6.2
Stopped working in version: 2.7.0
To Reproduce
Steps to reproduce the behavior:
Builds fails. Downgrading to 2.6.2 works, and removing
.use(backend)
works.Expected behavior
Build succeeds. 🙏
Your Environment