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
2
2
3
3
RUN apk add zola
4
4
RUN npm install -g
[email protected]
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
6
6
7
7
CMD ["zola" ]
8
8
ENTRYPOINT [ "zola" ]
Original file line number Diff line number Diff line change @@ -138,17 +138,17 @@ tailwind-build:
138
138
-v $(PWD ) :$(MOUNT_DIR ) --workdir $(MOUNT_DIR ) \
139
139
--entrypoint npx \
140
140
$(DOCKER_FQN ) \
141
- tailwindcss -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
141
+ npx @ tailwindcss/cli -i $(TAILWIND_INPUT ) -o $(TAILWIND_OUTPUT ) --minify
142
142
cp $(TAILWIND_BASE ) /* .js $(JS_OUTPUT )
143
143
144
144
cicd-tailwind-install :
145
145
@echo " >> Installing tailwind ..."
146
146
@npm init -y
147
147
@npm install
148
148
@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
150
150
151
151
cicd-tailwind-build :
152
152
@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
154
154
@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" ;
4
2
5
3
@layer components {
6
4
body {
You can’t perform that action at this time.
0 commit comments