Skip to content

Commands don't respect additional paths #292

@dkniffin

Description

@dkniffin

I have additional importmap files configured via:

Rails.application.configure do
  config.importmap.paths << Rails.root.join("config/importmap-packages-lock.rb")
end

When I run bin/importmap outdated (for example), it doesn't list the packages in that additional file, only the ones in config/importmap.rb. I think that's because this line doesn't configure any paths, and the default only includes config/importmap.rb

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