@lvce-editor/file-system-worker 5.20.0 → 5.20.1
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.
|
@@ -2171,6 +2171,9 @@ const readFileAsBlob = async uri => {
|
|
|
2171
2171
|
const blob = await response.blob();
|
|
2172
2172
|
return blob;
|
|
2173
2173
|
}
|
|
2174
|
+
if (isProviderUri(uri)) {
|
|
2175
|
+
return invoke$2('FileSystem.getBlob', uri);
|
|
2176
|
+
}
|
|
2174
2177
|
throw new Error('uri not supported');
|
|
2175
2178
|
};
|
|
2176
2179
|
const stat = async dirent => {
|