Update logo around the website

updated the favicon with a webpack plugin, as will as on the MainLayout
Plus some other tweaks to the main layout while I was there

resolves #107
This commit is contained in:
Kurt Hutten
2020-11-18 07:56:09 +11:00
parent a7dac73116
commit 4fefee073c
10 changed files with 194 additions and 43 deletions

View File

@@ -1,5 +1,12 @@
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
module.exports = {
plugins: [new MonacoWebpackPlugin()],
module.exports = (config, { env }) => {
config.plugins.forEach((plugin) => {
if (plugin.constructor.name === 'HtmlWebpackPlugin') {
plugin.options.favicon = './src/favicon.svg'
}
})
config.plugins.push(new MonacoWebpackPlugin())
return config
}