lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.31.0 vs lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.31.1
- old
+ new
@@ -25,10 +25,10 @@
rescue => e
Rails.logger.warn "[sewing_kit] could not read manifest from #{@metadata_path}; falling back to node. #{e}"
@metadata_path = nil
end
- result = load_metadata_from_node
+ result = SewingKit::Webpack::Manifest::Base.load_metadata_from_node
raise LegacyManifestError, result unless result['entrypoints'] || result['development']
@metadata_path = result && result['path']
result
end