Replies: 1 comment 1 reply
-
@Ribosom Totally, I think this would be a great idea to add this to the template by default. Apologies I'm catching up on notifications after the holiday |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I noticed an issue with the template-ts-vite: the built game doesn't work properly (when build with
npm run build
), both locally and when uploaded to itch.io, due to vite using absolute path by default.I found a simple solution by adding a vite.config.js with a default base path:
After adding this config, the game works perfectly both locally and on itch.io.
Would it make sense to include this config in the template by default?
PS: Thanks for the engine. I really appreciate it!
Beta Was this translation helpful? Give feedback.
All reactions