Skip to content

Commit db0a1b9

Browse files
committedMar 30, 2015
Precompile all generated runners
Should be safe for production as runner are only generated in test and development envs.
1 parent ff6e647 commit db0a1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎lib/opal/rails/engine.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Engine < ::Rails::Engine
3232
app.assets.append_path path
3333
end
3434

35-
app.config.assets.precompile += %w[opal_spec_runner.js]
35+
app.config.assets.precompile << "#{runner_dir}/*.js"
3636
end
3737

3838
config.after_initialize do |app|

0 commit comments

Comments
 (0)
Please sign in to comment.