summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-01-28 08:30:39 +0100
committerzeripath <art27@cantab.net>2020-01-28 07:30:39 +0000
commit1019913eaba0e8ad3a67174a1a13c673ee832406 (patch)
tree9190e22de87a7c8537bd1e31e18a41b2cedd2f18 /.editorconfig
parent4377e14304f3cbc39fece64bafad1778bfdf04d4 (diff)
downloadgitea-1019913eaba0e8ad3a67174a1a13c673ee832406.tar.gz
gitea-1019913eaba0e8ad3a67174a1a13c673ee832406.zip
move CSS build to webpack (#9983)
- added new 'make webpack' target - deprecated 'make js' and 'make css' - extend webpack config to load the less files - updated docs I had to rename the source file of `arc-green.less` to avoid generating a useless JS entrypoint via webpack-fix-style-only-entries which would not work with different source/destination filenames. I hear that there should be cleaner solutions possible once we upgrade to Webpack 5. Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index ff5c1b2d41..15a88a14eb 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,6 +7,9 @@ insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
+[*.md]
+trim_trailing_whitespace = false
+
[*.go]
indent_style = tab
indent_size = 8