|
|
|
@ -23,6 +23,9 @@ export function urlFromVersion (version) { |
|
|
|
|
*/ |
|
|
|
|
export function canUseWorker (selectedVersion) { |
|
|
|
|
const version = semver.coerce(selectedVersion) |
|
|
|
|
if (!version) { |
|
|
|
|
return browserSupportWorker() |
|
|
|
|
} |
|
|
|
|
const isNightly = selectedVersion.includes('nightly') |
|
|
|
|
return browserSupportWorker() && ( |
|
|
|
|
// All compiler versions (including nightlies) after 0.6.3 are wasm compiled
|
|
|
|
|