Sha256: 408e1d97a16b215b66fc850f2fc0a05cda45b608ed00e8a30ec65330f5d60afa
Contents?: true
Size: 594 Bytes
Versions: 19
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true module Proscenium class Esbuild class CompileError < StandardError; end extend ActiveSupport::Autoload autoload :Golib def self.build(...) new(...).build end def initialize(path, root:, base_url:) @path = path @root = root @base_url = base_url end def build Proscenium::Esbuild::Golib.new(root: @root, base_url: @base_url).build(@path) end private def cache_query_string q = Proscenium.config.cache_query_string q ? "--cache-query-string #{q}" : nil end end end
Version data entries
19 entries across 19 versions & 1 rubygems