logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 485310a43c23ecaf2670b8a7c9203110ea4fc7dc
parent: 057567d5482627462192485134e0bd619c4c0f29
Author: Eugen <eugen@zeonfederated.com>
Date:   Thu, 13 Apr 2017 22:21:20 +0200

Make browserify respect changes in node_modules for asset compilation (#1722)


Diffstat:

Mconfig/application.rb4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/application.rb b/config/application.rb @@ -62,7 +62,9 @@ module Mastodon config.middleware.use Rack::Attack config.middleware.use Rack::Deflater - config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] ] --extension=".jsx"' + config.browserify_rails.source_map_environments << 'development' + config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] ] --extension=".jsx"' + config.browserify_rails.evaluate_node_modules = true config.to_prepare do Doorkeeper::AuthorizationsController.layout 'public'