Remove favicons-webpack-plugin (#811)

* Remove favicons-webpack-plugin

* Copy android/* icons to dist

* Add favicon ico
This commit is contained in:
Ajay Bura 2022-09-04 19:23:02 +05:30 committed by GitHub
parent 678e0dc6ac
commit e6661d3b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 106 additions and 3418 deletions

View file

@ -1,5 +1,4 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');
const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
const CopyPlugin = require("copy-webpack-plugin");
const webpack = require('webpack');
@ -52,27 +51,12 @@ module.exports = {
},
plugins: [
new HtmlWebpackPlugin({ template: './public/index.html' }),
new FaviconsWebpackPlugin({
logo: './public/res/svg/cinny.svg',
mode: 'webapp',
devMode: 'light',
favicons: {
appName: 'Cinny',
appDescription: 'Yet another matrix client',
developerName: 'Ajay Bura',
developerURL: 'https://github.com/ajbura',
icons: {
coast: false,
yandex: false,
appleStartup: false,
}
}
}),
new CopyPlugin({
patterns: [
{ from: 'olm.wasm' },
{ from: '_redirects' },
{ from: 'config.json' },
{ from: 'public/res/android'}
],
}),
new webpack.ProvidePlugin({