Sha256: 293666a32eaea76d710c553b6d0d9d635595e0e6b8375763403d8c54a65fa4db
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
require "tailwindcss/ruby" module Tailwindcss module Commands class << self def compile_command(debug: false, config: nil, **kwargs) command = [ Tailwindcss::Ruby.executable(**kwargs), "--input", "-" ] command += ["--config", config] if config command << "--minify" unless debug postcss_path = "postcss.config.js" command += ["--postcss", postcss_path] if File.exist?(postcss_path) command end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-tailwindcss-0.5.1 | lib/tailwindcss/commands.rb |
jekyll-tailwindcss-0.5.0 | lib/tailwindcss/commands.rb |