Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Don't precompile assets for API, Core and Sample gems
Damian Legawiec63fb99f602b6
diff --git a/core/lib/spree/testing_support/common_rake.rb b/core/lib/spree/testing_support/common_rake.rbindex f9eb2e6227..6200926a56 100644--- a/core/lib/spree/testing_support/common_rake.rb+++ b/core/lib/spree/testing_support/common_rake.rb@@ -30,8 +30,10 @@ namespace :common doputs 'Skipping installation no generator to run...'end- puts 'Precompiling assets...'- system("bundle exec rake assets:precompile > #{File::NULL}")+ unless ['spree/api', 'spree/core', 'spree/sample'].include?(ENV['LIB_NAME'])+ puts 'Precompiling assets...'+ system("bundle exec rake assets:precompile > #{File::NULL}")+ endendtask :seed do |_t|