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) {
169169 type : 'asset/inline' ,
170170 } ,
171171 {
172- test : / \. j p g $ / ,
172+ test : / \. ( j p g | s v g ) $ / ,
173173 type : 'asset/inline' ,
174174 } ,
175175 ] ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import Browser from 'webextension-polyfill'
1818import PropTypes from 'prop-types'
1919import { config as toolsConfig } from '../content-script/selection-tools'
2020import wechatpay from './donation/wechatpay.jpg'
21+ import bugmeacoffee from './donation/bugmeacoffee.svg'
2122
2223function GeneralPart ( { config, updateConfig } ) {
2324 const [ balance , setBalance ] = useState ( null )
@@ -336,11 +337,7 @@ function Donation() {
336337 target = "_blank"
337338 rel = "nofollow noopener noreferrer"
338339 >
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 } />
344341 </ a >
345342 < hr />
346343 < >
You can’t perform that action at this time.
0 commit comments