v0.1.1
A dynamic imports polyfill for Deno Deploy and compiled executables
Repository
Current version released
4 years ago
Dependencies
deno.land/x
dynamic-import-ponyfill
A ponyfill for using dynamic imports within Deno Deploy.
import { importModule } from 'https://deno.land/x/dynamic-import-ponyfill@v0.1.1/mod.ts'
if (Math.random() > 0.5) {
await importModule('./foo.ts')
} else {
await importModule('./bar.ts')
}