Skip to content
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

Use trunk for local Wasm dev #95

Merged
merged 15 commits into from
Jul 9, 2024
Merged

Use trunk for local Wasm dev #95

merged 15 commits into from
Jul 9, 2024

Conversation

janhohenheim
Copy link
Member

@janhohenheim janhohenheim commented Jul 9, 2024

Resolves #49
Resolves #25

Fixes Wasm builds on Windows in general due to bevyengine/bevy#14246

The readme is kinda trash because we are overhauling that anyways.

Trunk.toml Show resolved Hide resolved
Co-authored-by: MiniaczQ <[email protected]>
@janhohenheim janhohenheim requested a review from MiniaczQ July 9, 2024 17:00
.gitignore Outdated Show resolved Hide resolved
Trunk.toml Show resolved Hide resolved
.github/workflows/release.yaml Outdated Show resolved Hide resolved
src/screen/splash.rs Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@janhohenheim janhohenheim requested a review from benfrankel July 9, 2024 17:25
@janhohenheim janhohenheim enabled auto-merge (squash) July 9, 2024 17:26
Copy link
Contributor

@NiklasEi NiklasEi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure the no_spa option in Trunk.toml works. I served the template locally (looks nice btw!) and accessed localhost:8080/test and it still returned the index file...

One other weird thing I noticed: I can't navigate out of the game. If I click a bookmark while running the game it navigated back to the game.

@janhohenheim janhohenheim disabled auto-merge July 9, 2024 18:00
@janhohenheim
Copy link
Member Author

@NiklasEi can confirm that the behavior is different when running --no-spa manually. Sigh. Good catch, I'll add it to the readme.

@janhohenheim janhohenheim enabled auto-merge (squash) July 9, 2024 18:10
@janhohenheim janhohenheim merged commit 316084f into main Jul 9, 2024
3 checks passed
@janhohenheim janhohenheim deleted the trunk branch July 9, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide tool to run release workflow locally Tell users how they can locally run their game on Wasm
4 participants