Skip to content

Instantly share code, notes, and snippets.

@rbclark
Created March 15, 2022 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbclark/71a0425496cdb5b662627704576ad276 to your computer and use it in GitHub Desktop.
Save rbclark/71a0425496cdb5b662627704576ad276 to your computer and use it in GitHub Desktop.
Example of postcss.config.js not working properly when using the tailwind CLI
{
"dependencies": {
"postcss": "^8.4.8",
"tailwindcss": "^3.0.23"
},
"scripts": {
"build:css": "yarn tailwind --postcss -i simple.css -o out.css --minify"
}
}
module.exports = {
map: {
inline: true
},
plugins: {
'tailwindcss': {},
}
}
.example {
border: 1px solid black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment