txtodo.app

[DORMANT] the official website of txtodo
git clone git://git.figbert.com/txtodo.app.git
Log | Files | Refs | README | LICENSE

postcss.config.js (442B)


      1 const production = !process.env.ROLLUP_WATCH;
      2 const purgecss = require("@fullhuman/postcss-purgecss");
      3 
      4 module.exports = {
      5   plugins: [
      6     require("postcss-import")(),
      7     require("tailwindcss"),
      8     require("autoprefixer"),
      9     // Only purge css on production
     10     production &&
     11       purgecss({
     12         content: ["./**/*.html", "./**/*.svelte"],
     13         defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
     14       })
     15   ]
     16 };