a0721a0cde
also external index
16 lines
304 B
Ruby
16 lines
304 B
Ruby
# config.ru
|
|
require 'bundler'
|
|
Bundler.require
|
|
|
|
require "react/source"
|
|
|
|
|
|
run Opal::Server.new {|s|
|
|
s.append_path 'app'
|
|
s.append_path File.dirname(::React::Source.bundled_path_for("react-with-addons.js"))
|
|
s.main = 'debugger'
|
|
s.debug = true
|
|
s.source_map = true
|
|
s.index_path = "index.html.erb"
|
|
}
|