mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:17:55 +01:00
Include go files in tailwind processing (#29686)
We need to scan `.go` files for tailwind classes. Does not seem to affect build time much luckily. Fixes: https://github.com/go-gitea/gitea/pull/29678#discussion_r1518448600 Verified via `rg tw-object-contain public/assets/css/index.css`. --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
1dc7f53386
commit
1695a5ac74
@ -31,6 +31,9 @@ export default {
|
|||||||
isProduction && '!./web_src/js/standalone/devtest.js',
|
isProduction && '!./web_src/js/standalone/devtest.js',
|
||||||
'!./templates/swagger/v1_json.tmpl',
|
'!./templates/swagger/v1_json.tmpl',
|
||||||
'!./templates/user/auth/oidc_wellknown.tmpl',
|
'!./templates/user/auth/oidc_wellknown.tmpl',
|
||||||
|
'!**/*_test.go',
|
||||||
|
'!./modules/{public,options,templates}/bindata.go',
|
||||||
|
'./{build,models,modules,routers,services}/**/*.go',
|
||||||
'./templates/**/*.tmpl',
|
'./templates/**/*.tmpl',
|
||||||
'./web_src/js/**/*.{js,vue}',
|
'./web_src/js/**/*.{js,vue}',
|
||||||
].filter(Boolean),
|
].filter(Boolean),
|
||||||
|
Loading…
Reference in New Issue
Block a user