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

Fix using d3 with angular #945

Merged

Conversation

michellemcdaniel
Copy link
Contributor

Angular's minification of d3 removes functions that are used, causing a runtime error. This change brings in the d3 types to fix dagre-d3's import, adds a patch to build-angular to exclude d3 from minification, and pulls in d3.min.js from the cdn. This fixes dotnet/arcade#4758 without having to turn off all optimizations.

Angular's minification of d3 removes functions that are used, causing a runtime error. This change brings in the d3 types to fix dagre-d3's import, adds a patch to build-angular to exclude d3 from minification, and pulls in d3.min.js from the cdn. This fixes #4758 without having to turn off all optimizations.
@michellemcdaniel michellemcdaniel merged commit 17ed020 into dotnet:master Feb 5, 2020
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.

[arcade-services] BarViz INT is failing to load
2 participants