Fix tailwind build
This commit is contained in:
14
Rakefile
14
Rakefile
@@ -112,9 +112,13 @@ namespace :tailwind do
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
task :build do
|
task :build do
|
||||||
system("npx tailwindcss -i ./slices/main/assets/css/app.css -o ./slices/main/assets/builds/app.css --minify")
|
system(
|
||||||
system("npx tailwindcss -i ./slices/admin/assets/css/app.css -o ./slices/admin/assets/builds/app.css --minify")
|
"npx",
|
||||||
system("npx tailwindcss -i ./slices/puzzles/assets/css/app.css -o ./slices/puzzles/assets/builds/app.css --minify")
|
"tailwindcss",
|
||||||
end
|
"--input", "app/assets/css/tailwind.css",
|
||||||
|
"--output", "app/assets/builds/tailwind.css",
|
||||||
|
"--minify"
|
||||||
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user