-
Hello,
To run the app, I already needed to add this vite/ rollup config
but as I run the build command there comes this error message
In the components of Built plugin import So i dont really understand where the I know, it's hard to find a solution according to this description, but I have literally no idea how to describe it better. I also searched for similar issues, but I did not find equally cases. Worth to mention, in development build everything works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ahhh i messed up... I thought the solution would be somewhere with that externals in the rollup options. In the qs-ui library i got this
and for the nuxt app its more or less equal but its meant for the nitro server So to fix that issue, i have to name all external libs which make issues (i cant explain the "magic" behind it...) Nuxt Config of the nuxt app
with that build works. |
Beta Was this translation helpful? Give feedback.
Ahhh i messed up...
In the nuxt config you can adress vite and nitro config. both have rollup options.
I thought the solution would be somewhere with that externals in the rollup options. In the qs-ui library i got this
and for the nuxt app its more or less equal but its meant for the nitro server
https://nitro.unjs.io/config#rollup
So to fix that issue, i have to name all external libs which make issues (i cant explain the "magic" behind it...)
Nuxt Config of the nuxt app
w…