@xuda.io/xuda-worker-bundle-min 1.3.104 → 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.
Files changed (2) hide show
  1. package/index.js +9 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -754,8 +754,16 @@ func.common.get_module = async function (SESSION_ID, module) {
754
754
  typeof IS_DOCKER !== "undefined" ||
755
755
  typeof IS_PROCESS_SERVER !== "undefined"
756
756
  ) {
757
+ // ret = await import(
758
+ // `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
759
+ // );
757
760
  ret = await import(
758
- `${_conf.xuda_home}root/dist/runtime/js/modules/` + rep()
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()
766
+ )
759
767
  );
760
768
  } else {
761
769
  ret = await import(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.104",
3
+ "version": "1.3.106",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {