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.

build: a twin's hash is taken over the same bytes on every platform

yhh2de21e80fb59
diff --git a/.gitattributes b/.gitattributes
index 5888a6df4..e00469342 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -9,3 +9,8 @@ sdk/etc/*.api.md text eol=lf
# the generator just wrote and git reports ten modified files with no diff in
# them — for as long as anyone runs the tests.
sdk/src/ui/widgets/prefabs/* text eol=lf
+
+# A generated WGSL twin stores a hash of the GLSL above it, taken over the bytes
+# on disk. A CRLF checkout changes those bytes, so every twin reads as stale and
+# regenerating writes a hash no Linux runner can reproduce.
+*.esshader text eol=lf