RangerMauve / webrun

Run Web-first ESM modules outside of the browser
https://webrun-presentation.hashbase.io/
MIT License
77 stars 8 forks source link

Add import map support #32

Open RangerMauve opened 4 years ago

RangerMauve commented 4 years ago

At the moment, imports are required to be paths / URLs.

We should support import maps for general "identifiers".

The maps should probably be CLI flag for the path, or a JSON file.

We should do whatever whatever Deno does: https://deno.land/manual/linking_to_external_code/import_maps

Looks to be a CLI flag called https://deno.land/manual/linking_to_external_code/import_maps