-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Expose svelte version in dev mode #4047
Comments
I notice that the compiled output has Would it be possible to use this to determine version? Or would it be better to have a concrete version attribute exposed in the dev source? |
@antony There's no easy/reliable way to access the raw source of the bundle. One way to expose this would be in the dev event details. For example.
|
@RedHatter gotcha. I've been looking at doing something similar this morning. |
This is now exposed in 3.17.0. Thanks! |
It would be helpful to be able to determine what version of svelte a given bundle was build with. This would simplify attempting to support both old and new versions of svelte in svelte-devtools. This hasn't been an issue so far but I'm sure it eventually will as new version change the internals more.
I'm not quite sure where this would be exposed though.
The text was updated successfully, but these errors were encountered: