fixLoading_local_compiler

pull/5370/head
yann300 3 years ago
parent 3186a43ca0
commit 375e3b6cd3
  1. 3
      libs/remix-solidity/src/compiler/compiler-utils.ts

@ -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

Loading…
Cancel
Save