File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
- TAILWIND_COMPILE_COMMAND = "#{ RbConfig . ruby } #{ Pathname . new ( __dir__ ) . to_s } /../../exe/tailwindcss -i '#{ Rails . root . join ( "app/assets/stylesheets/application.tailwind.css" ) } ' -o '#{ Rails . root . join ( "app/assets/builds/tailwind.css" ) } ' -c '#{ Rails . root . join ( "config/tailwind.config.js" ) } ' --minify"
1
+ TAILWIND_COMPILE_COMMAND = "#{ RbConfig . ruby } " \
2
+ "#{ Pathname . new ( __dir__ ) } /../../exe/tailwindcss " \
3
+ "-i '#{ Rails . root . join ( "app/assets/stylesheets/application.tailwind.css" ) } ' " \
4
+ "-o '#{ Rails . root . join ( "app/assets/builds/tailwind.css" ) } ' " \
5
+ "-c '#{ Rails . root . join ( ENV . fetch ( "TAILWIND_CONFIG_PATH" , "config/tailwind.config.js" ) ) } ' " \
6
+ "--minify"
2
7
3
8
namespace :tailwindcss do
4
9
desc "Build your Tailwind CSS"
You can’t perform that action at this time.
0 commit comments