Skip to content

Commit

Permalink
refactor: todo for future fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 3, 2024
1 parent b1b0f20 commit 1efa2ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -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",
Expand Down

0 comments on commit 1efa2ca

Please sign in to comment.