浏览代码

fix(dev): purgecss issues

Runjuu 5 年之前
父节点
当前提交
7e937d0181
共有 1 个文件被更改,包括 3 次插入2 次删除
  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