Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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]',
});