lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.28.0 vs lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.29.1
- old
+ new
@@ -26,10 +26,10 @@
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
- raise LegacyManifestError, result unless result['entrypoints']
+ raise LegacyManifestError, result unless result['entrypoints'] || result['development']
@metadata_path = result && result['path']
result
end