Replies: 2 comments
-
@ayZagen maybe adding rollupOptions: {
onwarn(message) {
// or just log everything
if (/Circular dependencies/.test(message.message))
console.error(message)
},
}, |
Beta Was this translation helpful? Give feedback.
0 replies
-
It was happening because of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I have a vite-ssg project using
vite-plugin-pages
,vite-plugin-pages-sitemap
andvite-plugin-pwa
. It runs OK in dev but when I try to get a production build it stucks at the stage ofbuilding SSR bundle for production... transforming (1) src\main.ts
It seems like a circular dependency issue (?) but I could not find the culprit.
I tried to remove pages/files one by one to find which file is causing the loop but couldn't made a progress. Also tried using madge to detect circular dependencies... with no luck.
Here is the output:
What can i do to find what is causing the problem?
Beta Was this translation helpful? Give feedback.
All reactions