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

[ci] release #884

Merged
merged 1 commit into from
Nov 8, 2023
Merged

[ci] release #884

merged 1 commit into from
Nov 8, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 8, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@astrojs/compiler@2.3.0

Minor Changes

  • 0c24ea1: Add a new annotateSourceFile option. This option makes it so the compiler will annotate every element with its source file location. This is notably useful for dev tools to be able to provide features like a "Open in editor" button. This option is disabled by default.

    <div>
      <span>hello world</span>
    </div>

    Results in:

    <div data-astro-source-file="/Users/erika/Projects/..." data-astro-source-loc="1:1">
      <span data-astro-source-file="/Users/erika/Projects/..." data-astro-source-loc="2:2">hello world</span>
    </div>

    In Astro, this option is enabled only in development mode.

@Princesseuh Princesseuh merged commit 1e421bf into main Nov 8, 2023
@Princesseuh Princesseuh deleted the changeset-release/main branch November 8, 2023 09:26
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.

1 participant