Web Dev Solutions

Catalin Mititiuc

From 51974436fff22bcd2c37471351165179bb5daa23 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 30 May 2024 10:44:22 -0700 Subject: WIP: dynamically add references to scenario svg --- esbuild-server.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esbuild-server.mjs') diff --git a/esbuild-server.mjs b/esbuild-server.mjs index 01629d1..10816d5 100644 --- a/esbuild-server.mjs +++ b/esbuild-server.mjs @@ -129,7 +129,7 @@ const ctx = await esbuild.context({ outdir: 'build', plugins: [resolveImportedSvg], loader: { - '.svg': 'file' + '.svg': 'text' }, assetNames: 'assets/images/[name]-[hash]', }); -- cgit v1.2.3