Enable source maps

lolsob-rspec
Eugen Rochko 2016-10-18 00:36:01 +02:00
parent d0240a2cf2
commit 56891c4bcc
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ module Mastodon
config.middleware.use Rack::Attack
config.middleware.use Rack::Deflater
config.browserify_rails.source_map_environments += %w[development production]
config.browserify_rails.commandline_options = "--transform [ babelify --presets [ es2015 react ] ] --extension=\".jsx\""
config.to_prepare do