Skip to content

Commit

Permalink
ui/authentication: increase the limit the maxAssetSize
Browse files Browse the repository at this point in the history
we add the oidc-client library so it's reach out the limit of assetsize
  • Loading branch information
ChengYanJin committed Dec 9, 2019
1 parent ae9b200 commit d5c14d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit d5c14d6

Please sign in to comment.