Browse Source

fix(dev): purgecss issues

Runjuu 5 năm trước cách đây
mục cha
commit
7e937d0181
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      postcss.config.js

+ 3 - 2
postcss.config.js

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