mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: allow custom esbuild plugins
This commit is contained in:
1 parent
ef0582d63c
commit
8428581860
4 files changed
+18
-8
No files matched your search
@@ -175,7 +175,7 @@ async function render(name, state) {
|
||||
perm: global.Hydro.model.builtin.PERM,
|
||||
PRIV: global.Hydro.model.builtin.PRIV,
|
||||
STATUS: global.Hydro.model.builtin.STATUS,
|
||||
UiContext: state.handler.UiContext,
|
||||
UiContext: state.handler?.UiContext || {},
|
||||
}, (err, res) => {
|
||||
if (err) reject(err);
|
||||
else resolve(res);
|
||||
|
||||
Reference in new issue
Block a user