Skip to content
  • Cheng Shao's avatar
    53770d00
    wasm: fix post-link.mjs for browser · 53770d00
    Cheng Shao authored
    The wasm ghci browser mode needs to run dyld.mjs in the browser which
    imports post-link.mjs. This script makes post-link.mjs runnable in the
    browser by deferring node-specific module imports to their actual use
    sites.
    
    (cherry picked from commit efcebed6)
    (cherry picked from commit 2b6ab4cc)
    53770d00
    wasm: fix post-link.mjs for browser
    Cheng Shao authored
    The wasm ghci browser mode needs to run dyld.mjs in the browser which
    imports post-link.mjs. This script makes post-link.mjs runnable in the
    browser by deferring node-specific module imports to their actual use
    sites.
    
    (cherry picked from commit efcebed6)
    (cherry picked from commit 2b6ab4cc)
Loading