Class: SewingKit::Webpack::Manifest::Production
- Defined in:
- lib/sewing_kit/webpack/manifest/production.rb
Instance Method Summary collapse
Methods inherited from Base
#clear_cache!, #initialize, load_metadata_from_node, #manifest, mode
Constructor Details
This class inherits a constructor from SewingKit::Webpack::Manifest::Base
Instance Method Details
#asset_dependencies(entrypoint_name) ⇒ Object
:nodoc:
12 13 14 |
# File 'lib/sewing_kit/webpack/manifest/production.rb', line 12 def asset_dependencies(entrypoint_name) ['entrypoints'][entrypoint_name] end |
#metadata ⇒ Object
16 17 18 19 20 |
# File 'lib/sewing_kit/webpack/manifest/production.rb', line 16 def manifest = SewingKit::CachedProductionManifest raise LegacyManifestError, manifest unless manifest['entrypoints'] manifest end |