forked from OpenNeo/impress
add react.js to precompile list
This commit is contained in:
parent
00841e45d2
commit
7928514342
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ module OpenneoImpressItems
|
|||
config.assets.version = '1.0'
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||
config.assets.precompile << '*.js'
|
||||
config.assets.precompile += %w( react.js )
|
||||
config.assets.initialize_on_precompile = false
|
||||
|
||||
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack
|
||||
|
|
Loading…
Reference in a new issue