diff --git a/ruby/hyperstack-config/lib/hyperstack-config.rb b/ruby/hyperstack-config/lib/hyperstack-config.rb index 9e8701416..bf5cf9aa3 100644 --- a/ruby/hyperstack-config/lib/hyperstack-config.rb +++ b/ruby/hyperstack-config/lib/hyperstack-config.rb @@ -15,9 +15,9 @@ def self.naming_convention require 'hyperstack/active_support_string_inquirer.rb' require 'hyperstack_env' require 'hyperstack/hotloader/stub' - # because promises and features in opal-browsers are used everywhere we load them here - require 'promise' - require 'opal-browser' + # uncommenting these lines breaks prerendering + # require 'promise' + # require 'opal-browser' else require 'opal' # because promises and features in opal-browsers are used everywhere we load them here