-
Notifications
You must be signed in to change notification settings - Fork 142
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 gjs/gts sourcemaps -- we accidentally unlocked really good DX #2166
Conversation
…ource-map (it's not what anyone wants anyway)
@@ -59,8 +59,8 @@ export class Addon { | |||
return hbs(options); | |||
} | |||
|
|||
gjs(options?: { inline_source_map: boolean }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing this makes this PR a breaking change... but inline source map is likely never something anyone wants as it hasn't been compatible with rollup.
So... this PR "could" be a bugfix, I suppose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NullVoxPopuli IMO it's change in public API - so it's a breaking change regardless if ppl prefer/use inline source maps or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SergeAstapov agreed, and integers are cheap 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternative to:
(and see here for context)
Requires
I will need to upgrade content-tag in this (Fix gjs/gts sourcemaps -- we accidentally unlocked really good DX #2166) PR once released
Something that is quite surprising (in a good way), is that we can inspect live values in templates (which makes sense, and really shows the power of the content-tag strategy we're using.
For example: