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
13 lines
337 B
JavaScript
13 lines
337 B
JavaScript
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
|
|
|
|
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
|
|
}
|