add a todo

This commit is contained in:
Wael Nasreddine 2025-12-25 22:03:06 -08:00
parent 94d1181fe8
commit afcd23cb99

View File

@ -116,6 +116,7 @@ export default class ShareThemeExportProvider extends ZipExportProvider {
return null;
}
// TODO: Should we allow mime to also include backend, i.e loosely check that it starts with application/javascript and ignore the rest?
if (type === "code" && mime === "application/javascript;env=frontend"){
return "js";
}