@lvce-editor/extension-host-worker 4.3.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.
|
@@ -3708,7 +3708,7 @@ const doGetExtensions = async () => {
|
|
|
3708
3708
|
}
|
|
3709
3709
|
if (platform === Remote) {
|
|
3710
3710
|
const sharedProcessExtensions = await getSharedProcessExtensions();
|
|
3711
|
-
return [...sharedProcessExtensions
|
|
3711
|
+
return [...sharedProcessExtensions, ...meta];
|
|
3712
3712
|
}
|
|
3713
3713
|
const extensions = await getSharedProcessExtensions();
|
|
3714
3714
|
return extensions;
|
|
@@ -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:
|
|
5015
|
+
tokenize: absolutePath
|
|
5014
5016
|
};
|
|
5015
5017
|
}
|
|
5016
5018
|
return language;
|
package/package.json
CHANGED