mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 09:51:13 +01:00
Enable source maps
This commit is contained in:
parent
6c05e3063a
commit
c9a7e6e1e3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue