ui: add monaco loader to modules list

This commit is contained in:
undefined committed 2022-04-10 02:48:34 +08:00
1 parent 639f89a558
commit fc95226ce4
3 files changed
+4 -1

No files matched your search

@@ -56,4 +56,6 @@ export async function load(features = ['markdown']) {
await res.loadThemePromise;
return { monaco: res.default, registerAction: res.registerAction };
}
export default load;
window.Hydro.components.loadMonaco = load;
+1
View File
@@ -21,6 +21,7 @@ import './components/autocomplete';
import './components/dialog';
import './components/notification';
import './components/nprogress';
import './components/monaco/loader';
window.node_modules = { _, $ };
window.$ = $;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.34.39",
"version": "4.34.40",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",