Astro won't build after adding middleware/index.ts

I was adding i18n to astro and used astro-i18n-aut. This package did not work for me, so I decided to reset my repo to the previous commit. Now the project does not build anymore. It does build on vercel, so I think it has something to do with the cache. The error is below [vite]: Rollup failed to resolve import "astro-i18n-aut" from "/Users///**/src/middleware/index.ts". This is most likely unintended because it can break your application at runtime. If you do want to externalize this module explicitly add it to build.rollupOptions.external
0 Replies
No replies yetBe the first to reply to this messageJoin