Class: Postnhost::TailwindInput

Inherits:
Object
  • Object
show all
Defined in:
lib/postnhost/tailwind_input.rb

Constant Summary collapse

SOURCE_PATTERN =
/@source\s+"([^"]+)";/

Class Method Summary collapse

Class Method Details

.build(engine_source:, host_source:) ⇒ Object



8
9
10
11
12
13
# File 'lib/postnhost/tailwind_input.rb', line 8

def build(engine_source:, host_source:)
  [
    expand_sources(engine_source),
    expand_sources(host_source)
  ].join("\n\n")
end