@lvce-editor/extension-host-worker 4.4.0 → 4.5.0

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.
@@ -5007,10 +5007,12 @@ const getLanguagesFromExtension = extension => {
5007
5007
  tokenize: ''
5008
5008
  };
5009
5009
  }
5010
+ const relativePath = `${extensionPath}/${language.tokenize}`;
5011
+ const absolutePath = platform === Web ? relativePath : getRemoteUrl(relativePath);
5010
5012
  return {
5011
5013
  ...language,
5012
5014
  extensionPath,
5013
- tokenize: getRemoteUrl(`${extensionPath}/${language.tokenize}`)
5015
+ tokenize: absolutePath
5014
5016
  };
5015
5017
  }
5016
5018
  return language;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-host-worker",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "Webworker for the extension host functionality in Lvce Editor.",
5
5
  "main": "dist/extensionHostWorkerMain.js",
6
6
  "type": "module",