Skip to content

Document excluded_paths when using propshaft #351

Description

@Paul-Bob

avo-hq/avo#3657

When propshaft is used, rails assets:precompile exports all assets from app/assets to public/assets.

While some users may rely on these assets, the majority will not.

Document the method to exclude them.

Rails.application.config.assets.excluded_paths += [
  Avo::Engine.root.join("app/assets/builds"),
  Avo::Engine.root.join("app/assets/config"),
  Avo::Engine.root.join("app/assets/stylesheets"),
  Avo::Engine.root.join("app/assets/svgs")
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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