-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
_plugin-vue_export-helper js file cant not be access with Github Pages(404) #9119
Comments
It seems like you configured manualChunks which might've caused that file to be generated (though looking at the code in technically shouldn't). Does removing that fix it for you? I tried reproducing the |
I tried to reinstall the node_modules and remove the manualChunks option, and the file also generated😂, Maybe some plugin caused. |
When One way to solve this is to change Vite's default |
We should check when is this helper being extracted as a chunk, that sounds quite inefficient to have as a separate file. |
Sorry that I misled you. The extracted chunk also includes vue (as far as I could imagine). Here is a example (stackblitz).
So it is bundled as
|
Thanks! According to your suggestion, I rewrote the method and the problem was solved. |
Describe the bug
@vitejs/plugin-vue3.0.0 change the name of the export file, that adds the
_
,that made the website built with Github Pages can not access because The Github Pages block the file starting with the underline character, Though it can be resolved to add the
.nojekyll
file at the root space, it just not a good solution, I add the.nojekyll
file in my project, so the Reproduction link maybe not find the error. If the file is removed, it'll make a 404 error.Reproduction
https://cloudhao1999.github.io/cloud-app-admin
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: