Skip to main content

PostCSS Config Builder

v1.0.0

Visual PostCSS pipeline — autoprefixer, nesting, custom-properties, env, modular order.

postcss.config.mjs
// postcss.config.mjs
export default {
  plugins: [
    "@tailwindcss/postcss",
    "autoprefixer",
    ...(process.env.NODE_ENV === "production" ? ["cssnano"] : [])
  ],
};

// Install:
npm install -D @tailwindcss/postcss autoprefixer cssnano