fix: inline CJS module/exports shims in client bundle for browser loader

This commit is contained in:
2026-09-04 14:59:11 +08:00
parent a14a8d9233
commit ef9508e597
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -1,4 +1,6 @@
window.__ModuleLoader__.load({ id: "@gyxx/dsh-plugin-gyxx-workbench", factory: (require) => {
var module = { exports: {} };
var exports = module.exports;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;