commit: c9a7e6e1e3d60e142c035006e7806643c173f63a
parent: 6c05e3063a4cd2eccb20baad8897649fdb860217
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Tue, 18 Oct 2016 00:36:01 +0200
Enable source maps
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config/application.rb b/config/application.rb
@@ -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