Skip to content

Commit 1695a5a

Browse files
silverwindGiteaBot
andauthored
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: #29678 (comment) Verified via `rg tw-object-contain public/assets/css/index.css`. --------- Co-authored-by: Giteabot <[email protected]>
1 parent 1dc7f53 commit 1695a5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tailwind.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export default {
3131
isProduction && '!./web_src/js/standalone/devtest.js',
3232
'!./templates/swagger/v1_json.tmpl',
3333
'!./templates/user/auth/oidc_wellknown.tmpl',
34+
'!**/*_test.go',
35+
'!./modules/{public,options,templates}/bindata.go',
36+
'./{build,models,modules,routers,services}/**/*.go',
3437
'./templates/**/*.tmpl',
3538
'./web_src/js/**/*.{js,vue}',
3639
].filter(Boolean),

0 commit comments

Comments
 (0)