Closed Grubba27 closed 1 year ago
Looks like some mime types are wrong. This example CSS file has text/html
:
Looks to be related to some preload directives
I’ve deployed using the example in the repo. Perhaps there is a vite config that I was supposed to adjust ?
Could you try putting build.polyfillModulePreload to false
in the vite config and deploy again? 🙏
Did it again. I think it is okay.
Links options
Links composition
I still see the errors on the deployment you shared:
Hmm I've looked at polyfillModulePreload
and that's not necessary to change it.
Looks like Vite is appending preload tags to the head, but since they don't have ?meteor_js_resource=true
in the URL Galaxy seems to respond with an incorrect mime type. Galaxy should use the correct mime type with the file extensions :(
Could you re-deploy with the new version 0.1.8
I just published?
I think it worked!!
I confirm, I no longer see errors :)
I've tested standard deployment for meteor & Vite & Vue 3, and here are the results: Site link: https://vite-and-vue3.meteorapp.com/ Command that I've run:
Have not tested SSR yet. Really cool having acess to Vite ecossytem! Thanks for this awesome work @Akryum