-
Run
npm i
in the folder -
Navigate to the folder
/tmp/build/build_1
-
In the folder
build_1
, run this command (with$path
= your real path to this repository folder):
$path/tailwindcss -i tailwind.css -o tailwind.min.css --postcss
(to use standalone)
or evennpx tailwindcss -i tailwind.css -o tailwind.min.css --postcss
(to use standard CLI) -
It should generate the
tailwind.min.css
in the folderbuild_1
but
it will lackscontent
classes in thesafelist.txt
file & even
ignoresafelist
classes added directly intailwind.config.js
(for example:flex
class is not generated) -
If you remove
postcss-import
from thepostcss.config.js
, Tailwind will generate the correct file
(i don't know whypostcss-import
breakscontent
&safelist
tho)