mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
add css extraction and minification to webpack (#9944)
This changes the CSS output of webpack to output to the public/css directory instead of inling CSS in JS. This enables CSS minification and autoprefixer based on browserslist which would otherwise not be possible. The result of this change is two new output files currently: - public/css/swagger.css - public/css/gitgraph.css Co-authored-by: techknowlogick <matti@mdranta.net>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
techknowlogick
parent
89f7dcb13d
commit
5b17bb8f3d
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Gitea API</title>
|
||||
<link href="{{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}" rel="stylesheet">
|
||||
<style>
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user