Fix web app manifest (#3582)

This commit is contained in:
Pierre Rudloff
2016-07-19 18:28:04 +02:00
committed by Christopher Speller
parent 6bbf8c8348
commit 3604f925a8
3 changed files with 44 additions and 29 deletions

View File

@@ -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,