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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user