-
Notifications
You must be signed in to change notification settings - Fork 59
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
Set transform
to literal mode
#939
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 2974e55 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
!preview literal |
|
…/transform-literal-html-head-body
…/transform-literal-html-head-body
!preview literal |
|
Tested against core and this is breaking a bunch of tests there: withastro/astro#10606 |
Yeah I believe it was because of the snapshot release having issues previously (which you pushed a fix for), tests passed locally for me IIRC, not sure though, been a little while 😀 |
It's spooky season so let's perform some necromancy and revive this change. I'm having to work around the head bug in one of my integrations. Is there some blocker here besides the failing tests on core in that previous run? |
Changes
transform
to use the "literal" mode that already powers theAST
andTSX
outputs.<body>
tag gets removed when it is a child of a component #935. Closes PLT-1381.Testing
Added new test for: Printer (JS), Printer (AST), Transform, Wasm output.
Existing tests should pass.
Updated old tests that relied on the previous behavior.
Docs
This is a bug fix