We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description Missing instructions for properly configuring the structure of automatic path loading for packages located outside the /app folder.
Example:
rails-app/packs/components/app/model/... rails-app/packs/components/app/public/... rails-app/packs/components/package.yml
How to resolve: Add config.paths.add 'packs', glob: '*/app/*', eager_load: true to application.rb
config.paths.add 'packs', glob: '*/app/*', eager_load: true
The text was updated successfully, but these errors were encountered:
This is not an issue with Packwerk. Packwerk will respect any autoload paths you have set up. If your application works, packwerk will work.
However, to give you some help - it seems that you are using https://github.com/rubyatscale/packs ? In which case you most likely will want to use https://github.com/rubyatscale/packs-rails too. Note however that those are separate projects that are not used by Shopify. Shopify uses engines to set up autoload paths, see #361.
Sorry, something went wrong.
No branches or pull requests
Description
Missing instructions for properly configuring the structure of automatic path loading for packages located outside the /app folder.
Example:
How to resolve:
Add
config.paths.add 'packs', glob: '*/app/*', eager_load: true
to application.rbThe text was updated successfully, but these errors were encountered: