From 1efa2ca5089aff4a0e04cdbb64d9e0aa148c5f2c Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Wed, 3 Apr 2024 21:31:25 +0300 Subject: [PATCH] refactor: todo for future fixes --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 27f6897a..886a831f 100644 --- a/src/index.js +++ b/src/index.js @@ -91,6 +91,7 @@ export default async function loader(content, map, meta) { if (shouldUseImportPlugin(options)) { plugins.push( importParser({ + // TODO need to fix on webpack side, webpack tries to resolve `./runtime/api.js paths like `http://site.com/runtime/api.js`, maybe we should try first request like absolute, the second like a relative to context isSupportAbsoluteURL: false, isSupportDataURL: false, isCSSStyleSheet: options.exportType === "css-style-sheet",