refactor: add favicon #7

This commit is contained in:
Sergey Krylov 2024-04-18 06:11:41 +03:00
parent c16de9373b
commit 3d41f6ac1a
2 changed files with 7 additions and 0 deletions

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,6 +1,13 @@
const path = require('node:path');
const { createConfig } = require('ksv741-react-scripts');
module.exports = (env) => createConfig({
analyze: env?.analyze,
mode: env?.mode,
plugins: {
htmlWebpackPlugin: {
favicon: path.resolve(__dirname, 'public', 'favicon.png'),
},
},
});