diff options
Diffstat (limited to 'config')
-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 e6f7008ef..3053faa90 100644 --- a/config/application.rb +++ b/config/application.rb @@ -73,7 +73,7 @@ module Mastodon config.middleware.use Rack::Deflater config.browserify_rails.source_map_environments << 'development' - config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] ] --extension=".jsx"' + config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] --plugins [ transform-decorators-legacy ] ] --extension=".jsx"' config.browserify_rails.evaluate_node_modules = true config.to_prepare do |