Closed sapphi-red closed 1 month ago
http:
and other protocol is out of rolldown
scope, even we ignore that in load-fallback
, both vite
and rolldown
treat http://*
specifier as a external dependency
user should handle other protocol
like uri by themself.
Reproduction link or steps
npm run build
runs automatically.What is expected?
The loadFallbackPlugin skippes data uri ids and no error happens.
What is actually happening?
The loadFallbackPlugin tries to load data uri ids and error happens.
System Info
Any additional comments?
Maybe it's better to ignore any ids with protocols (e.g.
data:
,http:
).Faced this while trying rolldown with Vite.