Skip to content
New issue

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

Allow to specify entrypoint #7

Open
peacememories opened this issue Apr 11, 2019 · 0 comments
Open

Allow to specify entrypoint #7

peacememories opened this issue Apr 11, 2019 · 0 comments
Assignees

Comments

@peacememories
Copy link

Hi, and thanks a lot for writing this tool and updating it for Elm 0.19
I'm planning on using it in my resource packing workflow. The plan is this:

  1. Scan all the resources and code-generate Elm files that expose the resources as functions.
  2. Scan the resource functions for usage
  3. Only pack the resources that are actually used
    I think elm-xref can help a lot with this, but one thing I'm not clear on is how to find out which entrypoints use a certain function. This is important to me because our Elm codebase has many entrypoints, and they could become unused as the codebase changes, but may still contribute to the usage of a function.
@zwilias zwilias self-assigned this Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants