Skip to content

Nested CSS doesn't compile? #13979

Answered by adamwathan
donnervetter asked this question in Help
Discussion options

You must be logged in to vote

Make sure you add the --postcss flag to your CLI command so that your PostCSS configuration is picked up and respected:

{
  "scripts": {
    "start": "servor --reload",
    "tailwind": "npx tailwindcss -i ./input.css -o ./output.css --watch --postcss"
  },
  "devDependencies": {
    "postcss-import": "^16.1.0",
    "postcss-nesting": "^12.1.5",
    "tailwindcss": "^3.4.4"
  },
  "dependencies": {
    "servor": "^4.0.2"
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@donnervetter
Comment options

Answer selected by donnervetter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants