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

feat: smaller bundles by making vega libraries external #7823

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Nov 23, 2021

This makes all the Vega libraries external by renaming their imports to Vega. This works because Vega exports all the library functions at the top-level as well (done in vega/vega#3154).

This pull request also fixes an issue where imports for external dependencies (namely Vega-util) were not renamed to Vega.

This patch is needed to support importing Vega-Lite as a stand alone bundle. See vega/altair#2517.

@domoritz domoritz merged commit d8d56ed into master Nov 23, 2021
@domoritz domoritz deleted the dom/external branch November 23, 2021 22:35
BradyJ27 pushed a commit to BradyJ27/vega-lite that referenced this pull request Oct 19, 2023
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.

None yet

2 participants