diff options
author | Pierre Rudloff <contact@rudloff.pro> | 2016-07-19 18:28:04 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-07-19 12:28:04 -0400 |
commit | 3604f925a87dfd4558cef7c3950440cf57c44ffc (patch) | |
tree | 70775f0d9cef3a613d0ffc65fefee8f4cd4663f7 /webapp/webpack.config.js | |
parent | 6bbf8c8348c936d480071d061314750155041560 (diff) | |
download | chat-3604f925a87dfd4558cef7c3950440cf57c44ffc.tar.gz chat-3604f925a87dfd4558cef7c3950440cf57c44ffc.tar.bz2 chat-3604f925a87dfd4558cef7c3950440cf57c44ffc.zip |
Fix web app manifest (#3582)
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r-- | webapp/webpack.config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js index 10dcdcce3..4f33eaf84 100644 --- a/webapp/webpack.config.js +++ b/webapp/webpack.config.js @@ -45,9 +45,14 @@ 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', query: { @@ -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, |