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 gjs/gts sourcemaps -- we accidentally unlocked really good DX #2166

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Nov 8, 2024

Alternative to:

Requires

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:
image
image
image

…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 }) {
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant