loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adjust tailwind content globs (#29596)

Tailwind content is not going to appear in `web_src/css`,
`web_src/fomantic` or `web_src/svg` or the JSON templates, so we don't
need to have tailwind scan these directories which will speed up the
build.

---------

Co-authored-by: delvh <dev.lh@web.de>
(cherry picked from commit 72b213b00fe1aa18d082423fbc4cfffff483eb18)

authored by

silverwind
delvh
and committed by
Earl Warren
588104d9 4f66fec7

+3 -1
+3 -1
tailwind.config.js
··· 29 29 content: [ 30 30 isProduction && '!./templates/devtest/**/*', 31 31 isProduction && '!./web_src/js/standalone/devtest.js', 32 + '!./templates/swagger/v1_json.tmpl', 33 + '!./templates/user/auth/oidc_wellknown.tmpl', 32 34 './templates/**/*.tmpl', 33 - './web_src/**/*.{js,vue}', 35 + './web_src/js/**/*.{js,vue}', 34 36 ].filter(Boolean), 35 37 blocklist: [ 36 38 // classes that don't work without CSS variables from "@tailwind base" which we don't use