mirror of
https://github.com/transmission/transmission
synced 2025-01-30 10:52:00 +00:00
fix: esbuild load svg
and png
as dataurl
type (#6409)
This commit is contained in:
parent
581d9c34cc
commit
a4e8cd5081
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ const ctx = await esbuild.context({
|
|||
entryPoints: ['./src/main.js'],
|
||||
legalComments: 'external',
|
||||
loader: {
|
||||
'.png': 'binary',
|
||||
'.svg': 'binary' },
|
||||
'.png': 'dataurl',
|
||||
'.svg': 'dataurl' },
|
||||
minify: true,
|
||||
outfile: './public_html/transmission-app.js',
|
||||
plugins: [sassPlugin()],
|
||||
|
|
Loading…
Reference in a new issue