Skip to content

Commit 63fe012

Browse files
committed
fixup! fix(@angular/build): enable oxc WASI fallback in WebContainer environments
1 parent cbc3888 commit 63fe012

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎packages/angular/build/src/tools/oxc/oxc-wasi-shim.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ if (
3030
get() {
3131
return (this as { napiModule?: unknown }).napiModule;
3232
},
33+
set(value) {
34+
Object.defineProperty(this, 'addonModule', {
35+
value,
36+
writable: true,
37+
configurable: true,
38+
enumerable: true,
39+
});
40+
},
3341
configurable: true,
3442
enumerable: false,
3543
});

0 commit comments

Comments
 (0)