Add Chromium-only Blender WebEngine parity work

This commit is contained in:
mes123456
2026-08-12 04:47:48 -04:00
commit 9fd26010f6
18225 changed files with 11622124 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import crypto from "node:crypto";
import fs from "node:fs";
import path from "node:path";
const root = path.resolve(new URL("../..", import.meta.url).pathname);
const assets = {
"web/app/src/vendor/three/three.module.js": "bbf5ed13fe4373f5bd38b14ea8e62e9f157327da5638edc6d3863e08b167c9c7",
"web/app/src/vendor/three/three.core.js": "3718df126d69c125362a03340913204470d8c50238605150e57f808840fb7759",
"web/app/src/vendor/three/addons/controls/OrbitControls.js": "1e08bf297c9062aa5055a9d649d8a8458c3871aa31c7d600f535a06f567e7cad",
};
for (const [relativePath, expected] of Object.entries(assets)) {
const filePath = path.join(root, relativePath);
const actual = crypto.createHash("sha256").update(fs.readFileSync(filePath)).digest("hex");
if (actual !== expected) throw new Error(`Three.js vendor hash mismatch: ${relativePath}`);
}
console.log(`three-vendor-ok assets=${Object.keys(assets).length}`);