File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ async function runWebpack(isWithoutKatex, callback) {
169
169
type : 'asset/inline' ,
170
170
} ,
171
171
{
172
- test : / \. j p g $ / ,
172
+ test : / \. ( j p g | s v g ) $ / ,
173
173
type : 'asset/inline' ,
174
174
} ,
175
175
] ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import Browser from 'webextension-polyfill'
18
18
import PropTypes from 'prop-types'
19
19
import { config as toolsConfig } from '../content-script/selection-tools'
20
20
import wechatpay from './donation/wechatpay.jpg'
21
+ import bugmeacoffee from './donation/bugmeacoffee.svg'
21
22
22
23
function GeneralPart ( { config, updateConfig } ) {
23
24
const [ balance , setBalance ] = useState ( null )
@@ -336,11 +337,7 @@ function Donation() {
336
337
target = "_blank"
337
338
rel = "nofollow noopener noreferrer"
338
339
>
339
- < img
340
- align = "center"
341
- alt = "buymeacoffee"
342
- src = "https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg"
343
- />
340
+ < img alt = "buymeacoffee" src = { bugmeacoffee } />
344
341
</ a >
345
342
< hr />
346
343
< >
You can’t perform that action at this time.
0 commit comments