Skip to content

Commit

Permalink
Merge pull request #12550 from keymanapp/fix/core/debugbuild
Browse files Browse the repository at this point in the history
fix(core): fix generated `core.js` file for debug builds 🎼
  • Loading branch information
ermshiperete authored Oct 17, 2024
2 parents a5f83bf + 998ad76 commit ebc5f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ mock_files = files(

if cpp_compiler.get_id() == 'emscripten'
host_links = ['--whole-archive', '-sALLOW_MEMORY_GROWTH=1', '-sMODULARIZE=1',
'-sEXPORT_ES6', '-sENVIRONMENT=webview',
'-sEXPORT_ES6', '-sENVIRONMENT=web,webview',
'--emit-tsd', 'core-interface.d.ts', '-sERROR_ON_UNDEFINED_SYMBOLS=0']

links += ['-sEXPORTED_RUNTIME_METHODS=[\'UTF8ToString\',\'stringToNewUTF8\',\'wasmExports\']',
Expand Down

0 comments on commit ebc5f82

Please sign in to comment.