WIP: dynamically add references to scenario svg

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent df809ab174
commit cea0cecc5f
4 changed files with 168 additions and 68 deletions

View File

@@ -129,7 +129,7 @@ const ctx = await esbuild.context({
outdir: 'build',
plugins: [resolveImportedSvg],
loader: {
'.svg': 'file'
'.svg': 'text'
},
assetNames: 'assets/images/[name]-[hash]',
});