Open dy opened 4 years ago
Parcel, babel, browserify and webpack seem to support optional require:
let Observable try { Observable = require('zen-observable') } catch (e) {}
Is there any sense to enable register-shim to detect available observable libs as well?
register-shim
I guess. PR welcome (including tests and docs).
Interesting how would that be possible with top-level await import() - via import maps?
Parcel, babel, browserify and webpack seem to support optional require:
Is there any sense to enable
register-shim
to detect available observable libs as well?