From 2e76450582ec76b75d81f83c94fe46acd896bbf3 Mon Sep 17 00:00:00 2001 From: George Mendoza Date: Wed, 15 Feb 2023 13:02:35 +0800 Subject: [PATCH] Remove unnecessary paths from engine's precompile list * apple_pay_button.js is already required by frontend.js * frontend.js is already required by solidus_braintree.js --- lib/solidus_braintree/engine.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/solidus_braintree/engine.rb b/lib/solidus_braintree/engine.rb index a58cc87e..22a1d54e 100644 --- a/lib/solidus_braintree/engine.rb +++ b/lib/solidus_braintree/engine.rb @@ -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"