instance method using_bun?

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

using_bun?()

No documentation comment.

Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 75
      def using_bun?
        # Cannot assume yarn.lock has been generated yet so we look for
        # a file known to be generated by the jsbundling-rails gem
        @using_bun ||= using_js_runtime? && Pathname(destination_root).join("bun.config.js").exist?
      end

Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 75 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::Generators::InstallGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close