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

Improve resolving optional dependencies. #770

Merged
merged 2 commits into from
Feb 5, 2018
Merged

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jan 30, 2018

webpack makes any dependency that is not in a try-catch block a required dependency. Adjust code to be in conformance with this. All require statements for d3 and hammerjs are now guarded. Most d3 references are now via d3Renderer.d3 to avoid having to have conditionals in every file.

webpack makes any dependency that is not in a try-catch block a required
dependency.  Adjust code to be in conformance with this.  All require
statements for `d3` and `hammerjs` are now guarded.  Most `d3`
references are now via `d3Renderer.d3` to avoid having to have
conditionals in every file.
@manthey manthey merged commit b4a8760 into master Feb 5, 2018
@manthey manthey deleted the optional-libraries branch February 5, 2018 13:11
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.

2 participants