danprince / midas

🫅 Traditional roguelike where everything you touch turns to gold.
https://danprince.itch.io/midas
2 stars 0 forks source link

Itch.io #36

Closed danprince closed 4 years ago

danprince commented 4 years ago

Would like to deploy the game to Itch.io so that it could be playable there, but the hosting structure of Itch means that the game will always end up in a subdirectory and absolute imports won't work.

Changing the imports over is no big deal, but Snowpack is hardcoded to emit web modules (and rewrite their paths) to /web_modules.

Need to wait for https://github.com/pikapkg/snowpack/issues/441 then I can hardcode the homepage path.

danprince commented 4 years ago

Working fine now since making the switch to Vite in #38.