Open tmg0 opened 1 month ago
Resolves: #421
\
/
normalizeAbsolutePath
load
resolvedId
test/fixtures/virtual-module/unplugin.js
Changes:
id = normalizeAbsolutePath(id) if (id.startsWith('\\')) id = id.replace(/\\/g, '/')
Open in Stackblitz
pnpm add https://pkg.pr.new/unjs/unplugin@422
commit: 077d35c
077d35c
Resolves: #421
\
with/
afternormalizeAbsolutePath
function when the virtual module id has a prefix with/
in webpack / rspackload
functionresolvedId
prefix intest/fixtures/virtual-module/unplugin.js
Changes: