lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.92.1 vs lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.93.0
- old
+ new
@@ -8,10 +8,14 @@
def initialize
super
@metadata_path = nil
end
- def asset_dependencies(entrypoint_name, _target)
+ def asset_bundle_name(_user_agent)
+ 'dev'
+ end
+
+ def asset_dependencies(entrypoint_name, _user_agent)
current_metadata = metadata
if current_metadata.key?('development')
current_metadata['development']['hangTight']
else
current_metadata['entrypoints'][entrypoint_name]