We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afd7dd0 commit 53ab636Copy full SHA for 53ab636
lib/tasks/build.rake
@@ -2,7 +2,7 @@ namespace :tailwindcss do
2
desc "Build your Tailwind CSS"
3
task :build do |_, args|
4
debug = args.extras.include?("debug")
5
- postcss = args.extras.include?("postcss")
+ postcss = args.extras.include?("postcss") || !ENV['TAILWIND_POSTCSS'].blank?
6
command = Tailwindcss::Commands.compile_command(debug: debug, postcss: postcss)
7
puts command.inspect if args.extras.include?("verbose")
8
system(*command, exception: true)
0 commit comments