mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-30 19:08:37 +00:00 
			
		
		
		
	disable webpack's size warnings (#10746)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		| @@ -202,14 +202,7 @@ module.exports = { | ||||
|     ]), | ||||
|   ], | ||||
|   performance: { | ||||
|     hints: isProduction ? 'warning' : false, | ||||
|     maxEntrypointSize: 512000, | ||||
|     maxAssetSize: 512000, | ||||
|     assetFilter: (filename) => { | ||||
|       if (filename.endsWith('.map')) return false; | ||||
|       if (['js/swagger.js', 'js/highlight.js', 'fomantic/semantic.min.css'].includes(filename)) return false; | ||||
|       return true; | ||||
|     }, | ||||
|     hints: false, | ||||
|   }, | ||||
|   resolve: { | ||||
|     symlinks: false, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user