diff options
| author | jpl | 2016-11-16 15:11:04 +0100 | 
|---|---|---|
| committer | jpl | 2016-11-16 15:11:26 +0100 | 
| commit | f44a86b0c05ce8340775cd1cacbb02784922a608 (patch) | |
| tree | 40fa5f668f7f5f1e552afa109caa843f822f293d | |
| parent | 0fa91c6923292e933906a262499b2c081a12f894 (diff) | |
| download | chouette-core-f44a86b0c05ce8340775cd1cacbb02784922a608.tar.bz2 | |
attempt to fix browserify-rails errors
| -rw-r--r-- | config/application.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/config/application.rb b/config/application.rb index e37e0a0a9..b9076abec 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,7 +28,7 @@ module ChouetteIhm      config.i18n.default_locale = :fr      # Configure Browserify to use babelify to compile ES6 -    config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 react ] ]" +    config.browserify_rails.commandline_options = "-t [ babelify --presets [ react es2015 ] ]"      unless Rails.env.production?          # Work around sprockets+teaspoon mismatch:          Rails.application.config.assets.precompile += %w(spec_helper.js) | 
