ugh, add react.js manually :(
This commit is contained in:
parent
7928514342
commit
63b34435c7
2 changed files with 20 additions and 1 deletions
20
app/assets/javascripts/react.js
vendored
Normal file
20
app/assets/javascripts/react.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -51,7 +51,6 @@ module OpenneoImpressItems
|
||||||
config.assets.version = '1.0'
|
config.assets.version = '1.0'
|
||||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||||
config.assets.precompile << '*.js'
|
config.assets.precompile << '*.js'
|
||||||
config.assets.precompile += %w( react.js )
|
|
||||||
config.assets.initialize_on_precompile = false
|
config.assets.initialize_on_precompile = false
|
||||||
|
|
||||||
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack
|
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack
|
||||||
|
|
Loading…
Reference in a new issue