From 35565b6618577c0efa3e6e257fd294ebfbb6e5b8 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 14 Apr 2024 13:34:10 +1000 Subject: [PATCH] Fix tailwind build --- Rakefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index a831a52..88f3bd7 100644 --- a/Rakefile +++ b/Rakefile @@ -112,9 +112,13 @@ namespace :tailwind do end - task :build do - system("npx tailwindcss -i ./slices/main/assets/css/app.css -o ./slices/main/assets/builds/app.css --minify") - system("npx tailwindcss -i ./slices/admin/assets/css/app.css -o ./slices/admin/assets/builds/app.css --minify") - system("npx tailwindcss -i ./slices/puzzles/assets/css/app.css -o ./slices/puzzles/assets/builds/app.css --minify") - end + task :build do + system( + "npx", + "tailwindcss", + "--input", "app/assets/css/tailwind.css", + "--output", "app/assets/builds/tailwind.css", + "--minify" + ) + end end