Skip to content

Commit 631dcc3

Browse files
authored
Use data URLs for SVG files. (#5845)
The files are all tiny, let's embed them inline.
1 parent 7304276 commit 631dcc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lib/esbuild-configs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const baseConfig = {
2828
loader: {
2929
'.png': 'file',
3030
'.jpg': 'file',
31-
'.svg': 'file',
31+
'.svg': 'dataurl',
3232
'.worker.js': 'file',
3333
},
3434
alias: {

0 commit comments

Comments
 (0)