Skip to content

Commit

Permalink
fix #455, missing dev time js polyfill for workers (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbss authored and thheller committed Feb 24, 2019
1 parent f370b30 commit b7d99ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/shadow/build/targets/browser.clj
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@
"var shadow$modules = false;\n")

(let [{:keys [polyfill-js]} state]
(when (and goog-base (seq polyfill-js))
(when (and (or goog-base web-worker) (seq polyfill-js))
(str "\n" polyfill-js)))

(-> state
Expand Down

0 comments on commit b7d99ff

Please sign in to comment.