Add favicon icons
Adding the owl logo as the default favicon image. We are using the reference to owl.png, so, once the logo is updated we should have updated also the favicons. Change-Id: If8119f84dad2958649a4de47463381e7abfcd2af
This commit is contained in:
parent
e8af1cc57b
commit
08792cf79b
|
@ -1,6 +1,7 @@
|
|||
require('es6-promise').polyfill(); // https://github.com/webpack/css-loader/issues/144
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const I18nPlugin = require('./src/js/plugins/i18n');
|
||||
const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: __dirname + '/src/js/index.js',
|
||||
|
@ -16,6 +17,15 @@ module.exports = {
|
|||
}),
|
||||
new I18nPlugin({
|
||||
localePath: 'i18n/locales'
|
||||
}),
|
||||
new FaviconsWebpackPlugin({
|
||||
logo: __dirname + '/src/img/owl.png',
|
||||
prefix: 'icons-tripleo/',
|
||||
emitStats: false,
|
||||
statsFilename: 'iconstats-tripleo.json',
|
||||
persistentCache: true,
|
||||
inject: true,
|
||||
title: 'TripleO UI'
|
||||
})
|
||||
],
|
||||
module: {
|
||||
|
|
Loading…
Reference in New Issue