Sha256: c875379118584bf64151ba84fa6468dcfe6450310d1d0398af2a72addcb33e7e

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require 'bundler/setup'
Bundler.require

desc "Build bundle"
task :build do
  Opal.append_path "."
  build = Opal::Builder.build("application")
  File.binwrite "build/bundle.js", build.to_s << "\n//# sourceMappingURL=bundle.js.map"
  File.binwrite "build/bundle.js.map", build.source_map
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-react-0.0.4 examples/todoapp/Rakefile
opal-react-0.0.3 examples/todoapp/Rakefile