mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Patch fomantic-ui to workaround build issue (#11244)
* Patch fomantic-ui to workaround build issue Better workaround than https://github.com/go-gitea/gitea/issues/10653 for https://github.com/fomantic/Fomantic-UI/issues/1356. It does not seem like we're getting a new Fomantic-UI release anytime soon, so this patches it after node_modules installation. Fixes: https://github.com/go-gitea/gitea/issues/11243 Fixes: https://github.com/go-gitea/gitea/issues/10679 * copy instead of patch * update package-lock.json * Update Makefile Co-Authored-By: Sorien <Sorien@users.noreply.github.com> * Update web_src/fomantic/css.js Co-Authored-By: zeripath <art27@cantab.net> Co-authored-by: Sorien <Sorien@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
		| @@ -1,6 +1,5 @@ | ||||
| const cssnano = require('cssnano'); | ||||
| const fastGlob = require('fast-glob'); | ||||
| const CopyPlugin = require('copy-webpack-plugin'); | ||||
| const FixStyleOnlyEntriesPlugin = require('webpack-fix-style-only-entries'); | ||||
| const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||||
| const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | ||||
| @@ -210,10 +209,6 @@ module.exports = { | ||||
|     new SpriteLoaderPlugin({ | ||||
|       plainSprite: true, | ||||
|     }), | ||||
|     new CopyPlugin([ | ||||
|       // workaround for https://github.com/go-gitea/gitea/issues/10653 | ||||
|       {from: 'node_modules/fomantic-ui/dist/semantic.min.css', to: 'fomantic/semantic.min.css'}, | ||||
|     ]), | ||||
|   ], | ||||
|   performance: { | ||||
|     hints: false, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user