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

Simplify API #108

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open

Simplify API #108

wants to merge 49 commits into from

Conversation

j-maas
Copy link
Contributor

@j-maas j-maas commented Oct 10, 2020

This PR is based on #107, but makes breaking changes to the API. However, migration is straightforward.

It removes the findAllDependencies function, since it was not used by the library and just exposed. If users depend on this, they can use the find-elm-dependencies library directly.

This PR also simplifies the compileWorker API. It encodes that the module name cannot differ from the source file name, and that the worker can only receive flags while the node argument has no use.

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

Successfully merging this pull request may close these issues.

1 participant