1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Better favicon handling, html teamplate and package.json adjusted

This commit is contained in:
Vladimir Volek 2018-09-04 18:17:09 +02:00
parent bc2d03a7ae
commit 003b758bfe
5 changed files with 7 additions and 9 deletions

View File

@ -3,9 +3,6 @@
"version": "1.0.0", "version": "1.0.0",
"author": "TREZOR <info@trezor.io>", "author": "TREZOR <info@trezor.io>",
"description": "", "description": "",
"bugs": {
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues"
},
"bin": { "bin": {
"flow": "./node_modules/flow-bin" "flow": "./node_modules/flow-bin"
}, },

View File

@ -5,12 +5,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Ethereum Wallet | TREZOR</title> <title>Ethereum Wallet | TREZOR</title>
<meta name="title" content="TrezorConnect" /> <meta name="title" content="Trezor Wallet" />
<meta name="description" content="TrezorConnect" /> <meta name="description" content="Trezor Wallet" />
<meta name="keywords" content="TrezorConnect" /> <meta name="keywords" content="trezor wallet" />
<meta name="author" content="" /> <meta name="author" content="satoshilabs s.r.o." />
<link rel="icon" type="image/png" href="favicon.png">
<!--[if IE]><link rel="shortcut icon" href="favicon.ico"/><![endif]-->
<meta name="viewport" content="width=1024, initial-scale=1"> <meta name="viewport" content="width=1024, initial-scale=1">
</head> </head>
<body> <body>

View File

@ -93,6 +93,7 @@ module.exports = {
template: `${SRC}index.html`, template: `${SRC}index.html`,
filename: 'index.html', filename: 'index.html',
inject: true, inject: true,
favicon: `${SRC}images/favicon.ico`,
}), }),
new webpack.optimize.OccurrenceOrderPlugin(), new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.NoEmitOnErrorsPlugin(), new webpack.NoEmitOnErrorsPlugin(),

View File

@ -119,6 +119,7 @@ module.exports = {
template: `${SRC}index.html`, template: `${SRC}index.html`,
filename: 'index.html', filename: 'index.html',
inject: true, inject: true,
favicon: `${SRC}images/favicon.ico`,
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({

View File

@ -90,6 +90,7 @@ module.exports = {
template: `${SRC}index.html`, template: `${SRC}index.html`,
filename: 'index.html', filename: 'index.html',
inject: true, inject: true,
favicon: `${SRC}images/favicon.ico`,
}), }),
new CopyWebpackPlugin([ new CopyWebpackPlugin([
{ from: `${PUBLIC}`, to: './' }, { from: `${PUBLIC}`, to: './' },