Skip to content

Commit b6ec7fe

Browse files
refactor: todo for future fixes
1 parent d217012 commit b6ec7fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export default async function loader(content, map, meta) {
9191
if (shouldUseImportPlugin(options)) {
9292
plugins.push(
9393
importParser({
94+
// 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
9495
isSupportAbsoluteURL: false,
9596
isSupportDataURL: false,
9697
isCSSStyleSheet: options.exportType === "css-style-sheet",

0 commit comments

Comments
 (0)