-
Notifications
You must be signed in to change notification settings - Fork 216
Extra HTML pages are not included in Dev mode #945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reproduction uses the latest, however in my local I uses Running |
I found out this can be solved by changing |
“I also encountered this problem. In dev mode, the multiple pages configured in Vite under the input setting do not exist in the dist directory. If you configure web_accessible_resources in the manifest, they will be output to the dist directory, but the TypeScript files will not be compiled into JavaScript.” |
Thanks for contributing to CRXJS! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. |
any updates on this issue? |
This is an automated message. Please do not reply to this comment. |
I encounter this when upgrading from only HTML is copied to dist, and JS not generated in asset/ folder, and script tag not update to use js in asset/ folder. Use |
Build tool
Vite
Where do you see the problem?
Describe the bug
So, before this I was doing fine with including the HTML pages. However, today I tried installing the file again due to certain bugs. And when I run
npm run dev
it's not working as it used to be.Here is my
vite.config.ts
:Reproduction
https://github.com/irfandyj/debug-crxjs-extra-html-pages
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: