web: Silence ESBuild warning. (#13025)
This commit is contained in:
@ -91,6 +91,15 @@ const baseArgs = {
|
|||||||
loader: { ".css": "text", ".md": "text" },
|
loader: { ".css": "text", ".md": "text" },
|
||||||
define: definitions,
|
define: definitions,
|
||||||
format: "esm",
|
format: "esm",
|
||||||
|
logOverride: {
|
||||||
|
/**
|
||||||
|
* HACK: Silences issue originating in ESBuild.
|
||||||
|
*
|
||||||
|
* @see {@link https://github.com/evanw/esbuild/blob/b914dd30294346aa15fcc04278f4b4b51b8b43b5/internal/logger/msg_ids.go#L211 ESBuild source}
|
||||||
|
* @expires 2025-08-11
|
||||||
|
*/
|
||||||
|
"invalid-source-url": "silent",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
function getVersion() {
|
function getVersion() {
|
||||||
|
Reference in New Issue
Block a user