@xuda.io/xuda-worker-bundle-min 1.3.105 → 1.3.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -758,15 +758,11 @@ func.common.get_module = async function (SESSION_ID, module) {
|
|
|
758
758
|
// `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
|
|
759
759
|
// );
|
|
760
760
|
ret = await import(
|
|
761
|
-
func.
|
|
762
|
-
SESSION_ID
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
? ""
|
|
767
|
-
: SESSION_OBJ[SESSION_ID]?.opt?.app_build_id,
|
|
768
|
-
`${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
|
|
769
|
-
)
|
|
761
|
+
func.utils.get_resource_filename(
|
|
762
|
+
SESSION_OBJ[SESSION_ID].engine_mode === "live_preview"
|
|
763
|
+
? ""
|
|
764
|
+
: SESSION_OBJ[SESSION_ID]?.opt?.app_build_id,
|
|
765
|
+
`${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
|
|
770
766
|
)
|
|
771
767
|
);
|
|
772
768
|
} else {
|