feat: favicon
This commit is contained in:
parent
691e068986
commit
3bedccaa3a
|
@ -1,4 +1,6 @@
|
|||
const path = require('path');
|
||||
|
||||
const copy = require('@neutrinojs/copy');
|
||||
const react = require('@neutrinojs/react');
|
||||
const styles = require('@neutrinojs/style-loader');
|
||||
const globImporter = require('node-sass-glob-importer');
|
||||
|
@ -83,6 +85,14 @@ module.exports = {
|
|||
AVOCADO_SERVER: false,
|
||||
},
|
||||
]);
|
||||
}
|
||||
},
|
||||
copy({
|
||||
patterns: [
|
||||
{
|
||||
from: 'src/common/icon.png',
|
||||
to: 'icon.png',
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<html lang="<%= htmlWebpackPlugin.options.lang %>">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" type="image/png" href="/icon.png"/>
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
BIN
src/common/icon.png
Normal file
BIN
src/common/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user