Removed unused files
This commit is contained in:
parent
2ce291b550
commit
72dcaa0f7e
2 changed files with 0 additions and 47 deletions
|
|
@ -1,17 +0,0 @@
|
|||
import sharp from 'sharp'
|
||||
|
||||
const path = require('path')
|
||||
|
||||
const generateFavicon = async () => {
|
||||
const inputSrc = 'src/assets/images/logo.png'
|
||||
const faviconPath = path.join(__dirname, '../public/favicon.png')
|
||||
|
||||
try {
|
||||
await sharp(inputSrc).png({ quality: 90 }).resize(50).toFile(faviconPath)
|
||||
console.log('Favicon generated successfully')
|
||||
} catch (error) {
|
||||
console.error('Error generating favicon:', error)
|
||||
}
|
||||
}
|
||||
|
||||
export default generateFavicon
|
||||
Loading…
Add table
Add a link
Reference in a new issue