Skip to content

Commit

Permalink
Add Trunk.toml and make urls relative.
Browse files Browse the repository at this point in the history
This enables IDEs to live preview `dist/index.html` without any extra config (since they usually default to serving the whole repo).

It also allows the template to work as-is on itch.io and any other services that serve the package under some path.
  • Loading branch information
kaydensigh committed Dec 17, 2023
1 parent 5f7dbc2 commit b942635
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
public_url = "./"

[serve]
port = 8080

0 comments on commit b942635

Please sign in to comment.