mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: add monaco loader to modules list
This commit is contained in:
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;
|
||||
@@ -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,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",
|
||||
|
||||
Reference in new issue
Block a user