# frozen_string_literal: true require 'sewing_kit/webpack/manifest/base' module SewingKit module Webpack class Manifest class Production < Base @metadata = nil @metadata_path = nil # :nodoc: def asset_dependencies(entrypoint_name) metadata['entrypoints'][entrypoint_name] end def metadata manifest = SewingKit::CachedProductionManifest raise LegacyManifestError, manifest unless manifest['entrypoints'] manifest end end end end end