Error sourcemap points to missing source files after excluding package from Vite optimization #18049
Unanswered
dule-kitemetric
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm using @atlaskit/jql-editor in my Vite project, which currently has improper behaviors:
I know the cause is Vite optimization since I used JQLEditor in a newly-created normal React project and it worked fine. So I exclude the @atlaskit/jql-edior from Vite optimization by updating the vite.config.ts:
When starting project there's no error, but it gives errors when I open project in browser:
Simplified code: create new Vite React project and use below component
Dependencies:
Does anyone know how to solve this problem? Please help me.
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions