writeImportMap(options: WriteImportMapOptions): string
Create an import map and write it to disk, creating parent directories as needed.
Relative targets are automatically rebased from the project root to the output directory.
options: WriteImportMapOptions
Creation options plus the optional output path.