Skip to content

Commit 995df59

Browse files
authored
Make sure dummy worker.js is never actually run. NFC (#21991)
1 parent a3e6c90 commit 995df59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/link.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,6 +2063,7 @@ def phase_final_emitting(options, state, target, wasm_target):
20632063
// to allow build systems to transition away from depending on it.
20642064
//
20652065
// Future versions of emscripten will likely stop generating this file at all.
2066+
throw new Error('Dummy worker.js file should never be used');
20662067
''')
20672068

20682069
# Deploy the Wasm Worker bootstrap file as an output file (*.ww.js)

0 commit comments

Comments
 (0)