Skip to content

Commit

Permalink
Remove unnecessary paths from engine's precompile list
Browse files Browse the repository at this point in the history
* apple_pay_button.js is already required by frontend.js
* frontend.js is already required by solidus_braintree.js
  • Loading branch information
gsmendoza committed Feb 16, 2023
1 parent 22507db commit 1bf5c89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/solidus_braintree/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class Engine < Rails::Engine

config.assets.precompile += [
'spree/frontend/solidus_braintree/checkout.js',
'solidus_braintree/frontend.js',
'spree/frontend/apple_pay_button.js',
'solidus_braintree_manifest.js'
]
paths["app/controllers"] << "lib/controllers/frontend"
Expand Down

0 comments on commit 1bf5c89

Please sign in to comment.