Commit a95178e
committed
Fix theme-auto loading
Fix regression from go-gitea#23481.
The conditional CSS import was being stripped away by webpack's
`css-loader`, resulting in the dark theme always loading. Unfortunately,
we have to re-introduce postcss to the CSS pipeline to fix this and I
loaded only the minimal plugins to make it work.
Related: webpack/css-loader#15031 parent 6f9cc61 commit a95178e
3 files changed
+312
-54
lines changed
0 commit comments