From a49c581ea4617608913f0623e9d08dd5c4fbf4be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E9=83=91?= <13414731+notzheng@users.noreply.github.com> Date: Thu, 23 Mar 2023 03:08:32 +0800 Subject: [PATCH] fix: typo in fix of modern api depedencies --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 6dbcedf3..a10d90d5 100644 --- a/src/index.js +++ b/src/index.js @@ -98,7 +98,7 @@ async function loader(content) { // Modern API if (typeof result.loadedUrls !== "undefined") { result.loadedUrls - .filter((url) => url.protocol === "file") + .filter((url) => url.protocol === "file:") .forEach((includedFile) => { const normalizedIncludedFile = url.fileURLToPath(includedFile);