Closed
Description
From 0.25, ESBuild can not read back the source map it generates for defines.
The generated source map has:
"sources": ["<define:NUM>", "", "entry.ts"],
But from 0.25, ESBuild expects sources
to be URL, it will then generate the following error when parsing the source map:

It sounds like ESBuild should probably encode the <define:NUM>
as an URL when it generates it.
Metadata
Metadata
Assignees
Labels
No labels