vite build vue3 mpa common component #15757
Unanswered
mannix-lei
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
-
When using Vite to bundle a Vue 3 Multi-Page Application (MPA) with two entry points corresponding to two projects, and these projects share a common component, the issue is that when individually bundled, the output consists of one JS and one CSS file per project. However, when both projects are bundled simultaneously, the common component is extracted into a separate JS and CSS file. How can this issue be resolved?
here is my build options:
pages:
Beta Was this translation helpful? Give feedback.
All reactions