lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.5.3 vs lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.5.4

- old
+ new

@@ -47,12 +47,10 @@ rescue => e raise ManifestLoadError.new("Could not load compiled manifest - have you run `rake sewing_kit:build`?", e) end def mode - env = ENV['NODE_ENV'] || Rails.env.to_s || 'production' - env = 'development' if env == 'test' - env + ENV['NODE_ENV'] || Rails.env.to_s || 'production' end end end end end