mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix web app manifest (#3582)
This commit is contained in:
committed by
Christopher Speller
parent
6bbf8c8348
commit
3604f925a8
@@ -45,8 +45,13 @@ var config = {
|
||||
},
|
||||
{
|
||||
test: /\.json$/,
|
||||
exclude: /manifest\.json$/,
|
||||
loader: 'json'
|
||||
},
|
||||
{
|
||||
test: /manifest\.json$/,
|
||||
loader: 'file?name=files/[hash].[ext]'
|
||||
},
|
||||
{
|
||||
test: /(node_modules|non_npm_dependencies)\/.+\.(js|jsx)$/,
|
||||
loader: 'imports',
|
||||
@@ -86,7 +91,8 @@ var config = {
|
||||
new CopyWebpackPlugin([
|
||||
{from: 'images/emoji', to: 'emoji'},
|
||||
{from: 'images/logo-email.png', to: 'images'},
|
||||
{from: 'images/circles.png', to: 'images'}
|
||||
{from: 'images/circles.png', to: 'images'},
|
||||
{from: 'images/favicon', to: 'images/favicon'}
|
||||
]),
|
||||
new webpack.LoaderOptionsPlugin({
|
||||
minimize: !DEV,
|
||||
|
||||
Reference in New Issue
Block a user