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

sceneUtils: Bundle splitting #1046

Open
gtk-grafana opened this issue Feb 4, 2025 · 0 comments
Open

sceneUtils: Bundle splitting #1046

gtk-grafana opened this issue Feb 4, 2025 · 0 comments

Comments

@gtk-grafana
Copy link
Contributor

I keep using methods in sceneUtils when generating external links, but then my module bundle size blows up and I wind up manually copying those methods into the app so I don't need to load all of scenes into the main module just to escape a variable or replace a pipe in an ad-hoc variable value.

Can we split out the sceneUtils into a bundle that can be loaded without including all of scenes?
Or at least the easy ones? (cloneSceneObjectState and registerVariableMacro might be difficult, but the rest seem to just need SceneObject, SceneObjectUrlValue, SceneObjectUrlValues, SceneObject, UniqueUrlKeyMapper)

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

1 participant