lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.92.0 vs lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.92.1
- old
+ new
@@ -49,10 +49,10 @@
instance.manifest
end
def instance
mode = ENV['NODE_ENV'] || Rails.env.to_s
- @instance ||= if (mode == 'development' && ENV['SK_SIMULATE_PRODUCTION'] != '1') || Rails.env.test?
+ @instance ||= if mode == 'development' && ENV['SK_SIMULATE_PRODUCTION'] != '1'
Development.new
else
Production.new
end
end