@lvce-editor/extension-management-worker 4.75.1 → 4.75.2

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.
@@ -2229,7 +2229,8 @@ const getExtensionAbsolutePath = (id, isWeb, isBuiltin, path, relativePath, orig
2229
2229
  return path + '/' + relativePath;
2230
2230
  }
2231
2231
  if (isBuiltin) {
2232
- return `${assetDir}/extensions/${id}/${relativePath}`;
2232
+ const folderName = path.split(/[/\\]/).findLast(Boolean) || id;
2233
+ return `${assetDir}/extensions/${folderName}/${relativePath}`;
2233
2234
  }
2234
2235
  return new URL('/remote' + path + '/' + relativePath, origin).href;
2235
2236
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-management-worker",
3
- "version": "4.75.1",
3
+ "version": "4.75.2",
4
4
  "description": "Webworker for the Extension Management functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"