We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c76af commit 36bdd79Copy full SHA for 36bdd79
src/extension-support/tw-external.js
@@ -26,7 +26,7 @@ const external = {};
26
* @template T
27
* @returns {Promise<T>}
28
*/
29
-external.import = url => {
+external.importModule = url => {
30
checkURL(url);
31
// Need to specify webpackIgnore so that webpack compiles this directly to a call to import()
32
// instead of trying making it try to use the webpack import system.
@@ -65,7 +65,7 @@ external.dataURL = async url => {
65
* @param {string} url
66
* @returns {Promise<Blob>}
67
68
-external.blobURL = async url => {
+external.blob = async url => {
69
const res = await external.fetch(url);
70
return res.blob();
71
};
0 commit comments