Skip to content
Snippets Groups Projects
Verified Commit 4b7ea904 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add favicon to build

parent 2b88846e
No related branches found
No related tags found
No related merge requests found
Pipeline #7299 passed
......@@ -14,6 +14,8 @@
"build": "webpack"
},
"devDependencies": {
"favicons": "^6.2.1",
"favicons-webpack-plugin": "^5.0.2",
"html-webpack-plugin": "^5.3.1",
"webpack": "^5.35.0",
"webpack-cli": "^4.6.0"
......
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
module.exports = {
entry: {
......@@ -12,6 +13,21 @@ module.exports = {
filename: 'augmentile-[name].html',
hash: true
}),
new FaviconsWebpackPlugin({
logo: './artwork/augmentile-icon.svg',
favicons: {
icons: {
android: false,
appleIcon: false,
appleStartup: false,
coast: false,
favicons: true,
firefox: false,
windows: false,
yandex: false
}
}
})
],
output: {
filename: 'augmentile-[name].bundle.js',
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment