Skip to content

Commit 360d8e7

Browse files
authored
Remove unused Fomantic sidebar module (go-gitea#16853)
* Remove unused Fomantic sidebar module The [Sidebar](https://fomantic-ui.com/modules/sidebar.html) module seems currently unused (at least I can't find any reference to it in templates or js), so remove it from the Fomantic build. * remove useless minified fomantic build files * mark fomantic build files as being generated
1 parent 968225e commit 360d8e7

File tree

5 files changed

+2
-1635
lines changed

5 files changed

+2
-1635
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/templates/**/*.tmpl linguist-language=Handlebars
55
/.eslintrc linguist-language=YAML
66
/.stylelintrc linguist-language=YAML
7+
/web_src/fomantic/build/** linguist-generated

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ fomantic:
701701
cp -rf $(FOMANTIC_WORK_DIR)/_site $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/
702702
cp -f web_src/js/vendor/dropdown.js $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/definitions/modules
703703
cd $(FOMANTIC_WORK_DIR) && npx gulp -f node_modules/fomantic-ui/gulpfile.js build
704+
rm -f $(FOMANTIC_WORK_DIR)/build/*.min.*
704705

705706
.PHONY: webpack
706707
webpack: $(WEBPACK_DEST)

0 commit comments

Comments
 (0)