Avoid top-level await (#37272)

This commit is contained in:
wxiaoguang
2026-04-18 16:01:58 +08:00
committed by GitHub
parent d5831b9385
commit cf3f8e807a
4 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// FIXME: INCORRECT-VITE-MANIFEST-PARSER: it just happens to work for current dependencies
// If this module depends on another one and that one imports "swagger.css", then {{AssetURI "css/swagger.css"}} won't work
import '../css/swagger.css';
import '../css/swagger-standalone.css';
import {initSwaggerUI} from './render/swagger.ts';
async function initGiteaAPIViewer() {