Browse Source

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

master
Eugen 7 years ago
committed by GitHub
parent
commit
485310a43c
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      config/application.rb

+ 3
- 1
config/application.rb View File

@ -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'

Loading…
Cancel
Save