Replies: 1 comment 6 replies
-
You can define extra HTML pages in Vite will take care of file-splitting if you do it this way 👍 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is to show a page (included within the extension) when the user clicks on the extension icon. The directory structure for my extension is as follows:
I am opening the page via:
However the manifest file doesn't include any reference to the file (since it is not a part of any of the extension pages ie. newtab/options/devpanel etc). As a result the build output doesn't include the file.
Is there an easy solution to this? My
app/index.html
andoptions/index.html
share a decent amount of CSS/JS imports as well so I would like to find a solution that can take advantage of chunking.Beta Was this translation helpful? Give feedback.
All reactions