Skip to content

Webpacker: support javascript_packs_with_chunks_tag Β #31

@DanielHeath

Description

@DanielHeath

Webpacker in rails 5.2 adds javascript_packs_with_chunks_tag, which calls send_early_hints, which isn't implemented here.

Workaround:

  class RenderingController < RenderAnywhere::RenderingController
    def request
      r = super
      def r.send_early_hints(links)
      end
      r
    end
  end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions