Sha256: 2ff93aaab7a044d9887d348ffc79621a15d6f726668f01dc2f75225e9230219d
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
module SnapshotInspector module ApplicationHelper def snapshot_inspector_importmap_tags(entry_point = "application", shim: true) safe_join( [ javascript_inline_importmap_tag(SnapshotInspector.configuration.importmap.to_json(resolver: self)), javascript_importmap_module_preload_tags(SnapshotInspector.configuration.importmap), (javascript_importmap_shim_nonce_configuration_tag if shim), (javascript_importmap_shim_tag if shim), javascript_import_module_tag(entry_point) ].compact, "\n" ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snapshot_inspector-0.1.1 | app/helpers/snapshot_inspector/application_helper.rb |