Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-30 10:44:22 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-30 10:44:22 -0700
commit51974436fff22bcd2c37471351165179bb5daa23 (patch)
treec7582e4604da66cc0e936084d7afd6b3c3e7a671 /esbuild-server.mjs
parent1bfc83dfc6a543f0721cfc6efc04f4910ecaad05 (diff)
WIP: dynamically add references to scenario svg
Diffstat (limited to 'esbuild-server.mjs')
-rw-r--r--esbuild-server.mjs2
1 files changed, 1 insertions, 1 deletions
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]',
});