diff --git a/ui/frame/frame-common.ts b/ui/frame/frame-common.ts index eacee85aa..2a1856157 100644 --- a/ui/frame/frame-common.ts +++ b/ui/frame/frame-common.ts @@ -94,7 +94,7 @@ function pageFromBuilder(moduleNamePath: string, moduleName: string, moduleExpor page = element; // Possible CSS file path. - var cssFileName = moduleName + ".css"; + var cssFileName = resolvePlatformPath(moduleName, "css"); page.addCssFile(cssFileName); } }