Skip to content

Commit

Permalink
Merge pull request #1399 from projectblacklight/jcoyne-patch-1
Browse files Browse the repository at this point in the history
Stop looking for a flag in importmap javascript
  • Loading branch information
corylown authored Feb 27, 2023
2 parents 39abfc6 + 31d9fb0 commit d7ed0bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/generators/arclight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ def pin_javascript_dependencies
end

def import_arclight_javascript
inject_into_file 'app/javascript/application.js', after: 'import "blacklight"' do
"\nimport \"arclight\""
end
append_to_file 'app/javascript/application.js', "\nimport \"arclight\""
end
end
end

0 comments on commit d7ed0bc

Please sign in to comment.