Add a confirmation modal: (#2279)
- Deleting a toot - Muting, blocking someone - Clearing notifications Remove source map generation from development environment, as it is a huge performance sink hole with little gains
This commit is contained in:
parent
df46864b39
commit
59b1de0bcf
10 changed files with 166 additions and 25 deletions
|
@ -53,7 +53,7 @@ module Mastodon
|
|||
:'zh-TW',
|
||||
]
|
||||
|
||||
config.i18n.default_locale = :en
|
||||
config.i18n.default_locale = :en
|
||||
|
||||
# config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
||||
# config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
|
||||
|
@ -72,7 +72,6 @@ module Mastodon
|
|||
config.middleware.use Rack::Attack
|
||||
config.middleware.use Rack::Deflater
|
||||
|
||||
config.browserify_rails.source_map_environments << 'development'
|
||||
config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] --plugins [ transform-decorators-legacy ] ] --extension=".jsx"'
|
||||
config.browserify_rails.evaluate_node_modules = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue