Skip to content

Fix PostCSS configuration for Tailwind CSS #5

Description

@coderabbitai

Issue

The current PostCSS configuration in postcss.config.mjs uses an incorrect plugin name and is missing autoprefixer:

const config = {
  plugins: ["@tailwindcss/postcss"],
};

Recommended Fix

Update the configuration to use the proper plugin names and format:

const config = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
};

This change ensures:

  • Correct plugin name for Tailwind CSS
  • Includes autoprefixer for vendor prefixing
  • Uses the proper object format for PostCSS plugins

Reference

This issue was created as follow-up from discussion in PR #1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions