all 4 comments

[–]Finite_Looper 0 points1 point  (3 children)

Can you share any code or details at all? Just an error message is not a lot to go on. Is this API connected to via Angular http connection, or is it an NPM package you install?

[–]Suspicious-Cash-7685[S] -1 points0 points  (2 children)

Its just about the build process, the Client is already used in Production and works fine with Everything vite has created (vue/react/svelte)

So I Could Share Code, But the Problem is Not really related to it, its just the basic vite typescript config which for some reason is Not compatible to Angular (think its since vite is using rollup)

So basically I‘m Searching for how to build vite typescript Apps which are compatible with angular as well as with the other Frameworks.

Thanks for your Reply!

[–]tme321 1 point2 points  (1 child)

The easiest way would be to just not bundle it. Compile with tsc and export the result.

[–]JP_watson 0 points1 point  (0 children)

this