mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-22 06:46:50 +00:00
Merge pull request #3705 from weaveworks/3434-fix-favicon-in-dev-mode
Fix favicon.ico in UI dev mode
This commit is contained in:
@@ -95,9 +95,18 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|eot|svg|ico)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||
loader: 'file-loader'
|
||||
},
|
||||
{
|
||||
test: /\.(ico)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
// Handle favicon.ico separately as it needs to preserve its name to be applied correctly.
|
||||
// See https://github.com/coryhouse/react-slingshot/issues/128#issuecomment-216363426.
|
||||
name: '[name].[ext]',
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.jsx?$/,
|
||||
exclude: /node_modules|vendor/,
|
||||
|
||||
Reference in New Issue
Block a user