Comment out unused function
This commit is contained in:
parent
72dcaa0f7e
commit
a31e7a59b3
1 changed files with 17 additions and 0 deletions
17
src/utils/functions/generateFavicon.ts
Normal file
17
src/utils/functions/generateFavicon.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// import sharp from 'sharp'
|
||||
|
||||
// import * as path from '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