diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-12-01 23:33:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 23:33:44 +0100 |
commit | f49d9556015a7d4c04e9db3f0c85d4399f6125ff (patch) | |
tree | 7719c7b14d559928b5177301e1e83522c2222c97 /cli/web_worker.rs | |
parent | 6e03917b51217524a894e5094933d551dc5ac0d9 (diff) |
fix(compile): disable source mapping of errors (#8581)
This commit disables source mapping of errors
for standalone binaries. Since applying source
maps relies on using file fetcher infrastructure
it's not feasible to use it for standalone binaries
that are not supposed to use that infrastructure.
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r-- | cli/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/web_worker.rs b/cli/web_worker.rs index 97db42279..12b79cb2d 100644 --- a/cli/web_worker.rs +++ b/cli/web_worker.rs @@ -195,7 +195,7 @@ impl WebWorker { } ops::web_worker::init(js_runtime, sender.clone(), handle); - ops::runtime::init(js_runtime, main_module); + ops::runtime::init(js_runtime, main_module, true); ops::fetch::init(js_runtime, program_state.flags.ca_file.as_deref()); ops::timers::init(js_runtime); ops::worker_host::init(js_runtime, Some(sender)); |