File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM node:20-alpine3.17
22
33RUN apk add zola
44RUN npm install -g npm@10.1.0
5- RUN yarn add tailwindcss@latest @tailwindcss/typography preline@latest
5+ RUN yarn add tailwindcss@latest @tailwindcss/cli @tailwindcss/ typography preline@latest postcss@latest autoprefixer@latest cssnano @latest
66
77CMD ["zola" ]
88ENTRYPOINT [ "zola" ]
Original file line number Diff line number Diff line change @@ -138,17 +138,17 @@ tailwind-build:
138138 -v $(PWD ) :$(MOUNT_DIR ) --workdir $(MOUNT_DIR ) \
139139 --entrypoint npx \
140140 $(DOCKER_FQN ) \
141- tailwindcss -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
141+ npx @ tailwindcss/cli -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
142142 cp $(TAILWIND_BASE ) /* .js $(JS_OUTPUT )
143143
144144cicd-tailwind-install :
145145 @echo " >> Installing tailwind ..."
146146 @npm init -y
147147 @npm install
148148 @npm install yarn
149- @yarn add tailwindcss@latest @tailwindcss/typography preline@latest postcss@latest autoprefixer@latest cssnano@latest
149+ @yarn add tailwindcss@latest @tailwindcss/typography @tailwindcss/cli preline@latest postcss@latest autoprefixer@latest cssnano@latest
150150
151151cicd-tailwind-build :
152152 @echo " >> Regenerating CSS ..."
153- @npx tailwindcss/cli -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
153+ @npx @ tailwindcss/cli -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
154154 @cp $(TAILWIND_BASE ) /* .js $(JS_OUTPUT )
Original file line number Diff line number Diff line change 1- @tailwind base;
2- @tailwind components;
3- @tailwind utilities;
1+ @import "tailwindcss" ;
42
53@layer components {
64 body {
You can’t perform that action at this time.
0 commit comments