diff --git a/public/browserconfig.xml b/public/browserconfig.xml index b3930d0f04..74bb89ac30 100644 --- a/public/browserconfig.xml +++ b/public/browserconfig.xml @@ -1,9 +1,9 @@ - - - - #da532c - - + + + + #da532c + + diff --git a/src/renderer/app/index.html b/src/renderer/app/index.html index f08a581ce2..3684b8bcd0 100644 --- a/src/renderer/app/index.html +++ b/src/renderer/app/index.html @@ -3,11 +3,11 @@ - - - - - + + + + + diff --git a/src/renderer/shared/assets/images/social/matrix-full.svg b/src/renderer/shared/assets/images/social/matrix-full.svg deleted file mode 100644 index 25e286df7d..0000000000 --- a/src/renderer/shared/assets/images/social/matrix-full.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/src/renderer/shared/assets/images/social/matrix.svg b/src/renderer/shared/assets/images/social/matrix.svg deleted file mode 100644 index c52ce48b61..0000000000 --- a/src/renderer/shared/assets/images/social/matrix.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/webpack/webpack.renderer.shared.ts b/webpack/webpack.renderer.shared.ts index 4bfd2d6b42..0f8192ae5c 100644 --- a/webpack/webpack.renderer.shared.ts +++ b/webpack/webpack.renderer.shared.ts @@ -1,5 +1,6 @@ import { resolve } from 'path'; +import { default as CopyWebpackPlugin } from 'copy-webpack-plugin'; import { default as CssMinimizerPlugin } from 'css-minimizer-webpack-plugin'; import { default as HtmlWebpackPlugin } from 'html-webpack-plugin'; import { default as MiniCssExtractPlugin } from 'mini-css-extract-plugin'; @@ -74,17 +75,15 @@ export const sharedRendererConfig = (mode: 'development' | 'production') => }, plugins: [ + new CopyWebpackPlugin({ + patterns: [{ from: 'public' }], + }), + new webpack.EnvironmentPlugin({ NODE_ENV: mode, DEBUG_PROD: false, }), - mode === 'production' - ? new MiniCssExtractPlugin({ - filename: '[name].[contenthash].css', - }) - : null, - new HtmlWebpackPlugin({ template: resolve(FOLDERS.INDEX_HTML), minify: { @@ -94,5 +93,7 @@ export const sharedRendererConfig = (mode: 'development' | 'production') => isBrowser: false, isDevelopment: mode === 'development', }), - ].filter((x) => x !== null), + + mode === 'production' ? new MiniCssExtractPlugin({ filename: '[name].[contenthash].css' }) : null, + ].filter((plugin) => plugin !== null), });