Cleanup entrypoints

This commit is contained in:
Nick Gerleman
2022-12-23 07:30:15 -08:00
parent b09aad433b
commit 025698132f
28 changed files with 99 additions and 63 deletions

View File

@@ -27,7 +27,7 @@ for (let type of ['asmjs', 'wasm']) {
vm.runInNewContext(
file,
Object.assign(Object.create(global), {
Yoga: require(type === 'asmjs' ? '../dist/sync.asmjs' : '../dist/sync.wasm'),
Yoga: require(type === 'asmjs' ? '../dist/variants/asmjs-sync' : '../dist/variants/wasm-sync'),
YGBENCHMARK: function(name, fn) {
let testEntry = testResults.get(name);