diff options
| author | Thomas Haddad | 2017-03-15 10:52:55 +0100 | 
|---|---|---|
| committer | Thomas Haddad | 2017-03-15 17:36:04 +0100 | 
| commit | f7cc3f58cde210a881e5e8c561d459af63d07ba2 (patch) | |
| tree | f357f71948eedcdbb832b39c816c61fc8945ab96 /config/environments | |
| parent | 070fba3455ad0cfcdbd6b51cb193522f98bf103f (diff) | |
| download | chouette-core-f7cc3f58cde210a881e5e8c561d459af63d07ba2.tar.bz2 | |
Refs #2820: Set NODE_ENV when in production for browserify
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'config/environments')
| -rw-r--r-- | config/environments/production.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/config/environments/production.rb b/config/environments/production.rb index c04e4743e..71fe99fe8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -124,4 +124,6 @@ Rails.application.configure do    config.i18n.available_locales = [:fr, :en] +  # Set node env for browserify-rails +  config.browserify_rails.node_env = "production"  end | 
