fix(dev): purgecss issues

pull/645/head
Runjuu 2020-11-01 21:48:57 +08:00
parent 91801aa216
commit 7e937d0181
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@ module.exports = (ctx) => ({
ctx.env === "production" ctx.env === "production"
? require("@fullhuman/postcss-purgecss")({ ? require("@fullhuman/postcss-purgecss")({
content: [ content: [
'./static/js/main.js', './src/**/*.js',
// etc. './src/**/*.cljs',
'./resources/**/*.html',
], ],
// https://tailwindcss.com/docs/controlling-file-size#understanding-the-regex // https://tailwindcss.com/docs/controlling-file-size#understanding-the-regex