Generates an import map and writes it as JSON or an executable browser script.
Destination ending in .json or .js. Relative paths are resolved against the project directory.
.json
.js
Options controlling the project, dependencies and export conditions.
Generates an import map and writes it as JSON or an executable browser script.