Skip to content

Instantly share code, notes, and snippets.

@moxdev
Forked from ryanflorence/postcss.config.js
Last active February 26, 2021 14:44
Show Gist options
  • Save moxdev/bf722f04dae775a33d35171c386a45e3 to your computer and use it in GitHub Desktop.
Save moxdev/bf722f04dae775a33d35171c386a45e3 to your computer and use it in GitHub Desktop.
Tailwind & CSSNANO Postcss config
module.exports = {
plugins: [
require("tailwindcss"),
require("autoprefixer"),
process.env.NODE_ENV === "production" && require("cssnano"),
].filter(Boolean),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment