Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(examples): tilemap-demo packaging config; ignore editor export outputs

yhh5e82c03ddaf2
diff --git a/.gitignore b/.gitignore
index d771d0577..c6bbbd346 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,9 @@ build-*/
build_*/
out/
dist/
+# Editor export outputs (regenerated per export; the outDir names the Package dialog defaults to)
+dist-web/
+dist-playable/
# MCP config (user-specific)
.mcp.json
diff --git a/examples/tilemap-demo/project.esproject b/examples/tilemap-demo/project.esproject
index 57e6b7926..e294146d3 100644
--- a/examples/tilemap-demo/project.esproject
+++ b/examples/tilemap-demo/project.esproject
@@ -9,5 +9,17 @@
"width": 800,
"height": 450
},
- "spineVersion": "none"
+ "spineVersion": "none",
+ "packaging": {
+ "platform": "playable",
+ "config": "shipping",
+ "sourceMaps": true,
+ "openFolder": true,
+ "outDir": {
+ "web": "dist-web",
+ "playable": "dist-playable"
+ },
+ "compressTextures": true,
+ "atlasTextures": true
+ }
}