From 003b758bfe939c819b53e4630c46f3651ed86e0b Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Tue, 4 Sep 2018 18:17:09 +0200 Subject: [PATCH] Better favicon handling, html teamplate and package.json adjusted --- package.json | 3 --- src/index.html | 10 ++++------ webpack/dev.babel.js | 1 + webpack/local.babel.js | 1 + webpack/production.babel.js | 1 + 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index ef1faf11..54e1cbf1 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,6 @@ "version": "1.0.0", "author": "TREZOR ", "description": "", - "bugs": { - "url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues" - }, "bin": { "flow": "./node_modules/flow-bin" }, diff --git a/src/index.html b/src/index.html index 53f5fb92..c62bd67d 100644 --- a/src/index.html +++ b/src/index.html @@ -5,12 +5,10 @@ Ethereum Wallet | TREZOR - - - - - - + + + + diff --git a/webpack/dev.babel.js b/webpack/dev.babel.js index 7332cf8d..6a5dc96f 100644 --- a/webpack/dev.babel.js +++ b/webpack/dev.babel.js @@ -93,6 +93,7 @@ module.exports = { template: `${SRC}index.html`, filename: 'index.html', inject: true, + favicon: `${SRC}images/favicon.ico`, }), new webpack.optimize.OccurrenceOrderPlugin(), new webpack.NoEmitOnErrorsPlugin(), diff --git a/webpack/local.babel.js b/webpack/local.babel.js index 4ed1c6c2..1c110791 100644 --- a/webpack/local.babel.js +++ b/webpack/local.babel.js @@ -119,6 +119,7 @@ module.exports = { template: `${SRC}index.html`, filename: 'index.html', inject: true, + favicon: `${SRC}images/favicon.ico`, }), new HtmlWebpackPlugin({ diff --git a/webpack/production.babel.js b/webpack/production.babel.js index 5cd2486a..1876b93e 100644 --- a/webpack/production.babel.js +++ b/webpack/production.babel.js @@ -90,6 +90,7 @@ module.exports = { template: `${SRC}index.html`, filename: 'index.html', inject: true, + favicon: `${SRC}images/favicon.ico`, }), new CopyWebpackPlugin([ { from: `${PUBLIC}`, to: './' },