Created
March 15, 2022 17:58
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"postcss": "^8.4.8", | |
"tailwindcss": "^3.0.23" | |
}, | |
"scripts": { | |
"build:css": "yarn tailwind --postcss -i simple.css -o out.css --minify" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
map: { | |
inline: true | |
}, | |
plugins: { | |
'tailwindcss': {}, | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.example { | |
border: 1px solid black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment