Add favicon

This commit is contained in:
Slava Bacherikov committed 2019-09-04 21:27:48 +03:00
1 parent fd33defb36
commit 1c06c334ff
7 files changed
+48 -10

No files matched your search

+5 -7
View File
@@ -70,10 +70,9 @@ function getWebpackConfig(production, gtag) {
var plugins = [
new CleanWebpackPlugin(),
new CopyWebpackPlugin([
{
from: 'assets/bootstrap.min.css',
to: 'assets/'
}
{from: 'assets/bootstrap.min.css', to: 'assets/'},
{from: 'assets/images/favicon.ico', to: 'favicon.ico'},
{from: 'assets/images/', to: 'assets/images/'},
]),
new DefinePlugin({
GOOGLE_ANALYTICS_TAG: JSON.stringify(gtag)
@@ -82,10 +81,9 @@ function getWebpackConfig(production, gtag) {
minify: {
collapseWhitespace: true,
conservativeCollapse: true,
removeComments: true
removeComments: true,
},
inject: true,
template: 'html/index.html'
template: 'html/index.html',
}),
new VersionInfoPlugin({filename: 'version-info.txt'})
];