Skip to content

Commit

Permalink
Revert of production env enforcement (#2341)
Browse files Browse the repository at this point in the history
* Revert d8dd446

Undoing the commit that forces the production environment. The code has it as default when not defined, this is sufficient, but it should respect the user settings!
  • Loading branch information
coding-bunny authored and gauravtiwari committed Nov 7, 2019
1 parent 76b4917 commit 4c79d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/webpacker/compile.rake
Expand Up @@ -26,7 +26,7 @@ end
namespace :webpacker do
desc "Compile JavaScript packs using webpack for production with digests"
task compile: ["webpacker:verify_install", :environment] do
Webpacker.with_node_env("production") do
Webpacker.with_node_env(ENV.fetch("NODE_ENV", "production")) do
ensure_log_goes_to_stdout do
if Webpacker.compile
# Successful compilation!
Expand Down

0 comments on commit 4c79d22

Please sign in to comment.