mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-09-13 14:22:25 +03:00
Remove favicons-webpack-plugin (#811)
* Remove favicons-webpack-plugin * Copy android/* icons to dist * Add favicon ico
This commit is contained in:
parent
678e0dc6ac
commit
e6661d3b0d
26 changed files with 106 additions and 3418 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue