Sha256: 4bb63f92e165bddbbcad2a9703dcd6e56ca0e8d6b8a0ff74889bee825c21eaff
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
require 'bundler/setup' Bundler.require task :default => [:build] desc "Build bundle" task :build do Opal.append_path "." build = Opal::Builder.build("application") FileUtils.mkdir_p "build" 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
3 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-react-0.0.5 | examples/hello/Rakefile |
opal-react-0.0.5 | examples/timer/Rakefile |
opal-react-0.0.5 | examples/todoapp/Rakefile |