Refactor(json schema): Optimize import map json schema

This commit is contained in:
2024-09-15 14:54:10 +08:00
parent fd4c3750fb
commit c557311dbc
6 changed files with 858 additions and 822 deletions

View File

@@ -34,7 +34,7 @@ const Playground = ({
try {
setImportMap(JSON.parse(importMapRaw) as IImportMap)
} catch (e) {
setImportMap({ imports: {} })
setImportMap({})
}
}
if (!tsconfig) {