Removed file
This commit is contained in:
parent
da171b15ea
commit
6908b4b2bf
1 changed files with 0 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
||||||
import { Jimp } from 'jimp'
|
|
||||||
|
|
||||||
export default async () => {
|
|
||||||
const inputSrc = 'src/assets/images/logo.png'
|
|
||||||
const favicon = 'public/favicon.png'
|
|
||||||
|
|
||||||
try {
|
|
||||||
const image = await Jimp.read(inputSrc)
|
|
||||||
image.resize({ w: 90 })
|
|
||||||
await image.write(favicon)
|
|
||||||
console.log('Favicon generated successfully')
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error generating favicon:', error)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue