From d5c14d604669157bc1e81b165079c0bafedec972 Mon Sep 17 00:00:00 2001 From: YanJin Date: Sun, 8 Dec 2019 21:13:06 +0100 Subject: [PATCH] ui/authentication: increase the limit the maxAssetSize we add the oidc-client library so it's reach out the limit of assetsize --- ui/config-overrides.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/config-overrides.js b/ui/config-overrides.js index 61e0b8f0b0..ad067ff04e 100644 --- a/ui/config-overrides.js +++ b/ui/config-overrides.js @@ -15,7 +15,7 @@ const CompressionPlugin = require('compression-webpack-plugin'); const setWebpackPerformance = () => config => { config.performance = { hints: 'error', - // ~586 KiB for production + // ~684 KiB for production // ~1953 KiB for development because flow increase the size of assets. maxAssetSize: process.env.NODE_ENV === 'production' ? 700000 : 2000000, assetFilter: assetFilename => {