Skip to content

quasar/app-vite has problem with (some) CJS module resolution #13002

Discussion options

You must be logged in to vote

This is the nature of Vite itself. It doesn't do AST analysis (one of the reasons it's so fast), so mixing ESM with CJS doesn't plays well. In any case, it's outside of our reach. If you really can't transform CJS to ESM, then maybe you're better off with q/app-webpack. Or maybe there is a Vite plugin to handle this (albeit doing it will have a perf penalty for sure).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants