-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
upgrade: swc, deno_doc, deno_lint, dprint #7793
Conversation
490381e
to
b8fd744
Compare
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.
LGTM
// FIXME(bartlomieju): had to add space in `<div>`, probably a quirk in swc_ecma_codegen | ||
assert!( | ||
h.cache_calls[0] | ||
.2 | ||
.to_string() | ||
.unwrap() | ||
.contains("<div>Hello world!</div>"), | ||
.contains("<div >Hello world!</div>"), |
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.
Little quirk I encountered; but it should still be ok to land.
Full output after transform:
export default class A {
render() {
return <div >Hello world!</div>;
}
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIjxodHRwczovL2Rlbm8ubGFuZC94L3RyYW5zcGlsZS50c3g+Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IGNsYXNzIEEge1xuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuICg8ZGl2PkhlbGxvIHdvcmxkITwvZGl2Pik7XG4gIH1cbn1cbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoicUJBQUEsQ0FBQTtBQUNBLFVBQUE7Z0JBQ0EsR0FBQSxFQUFBLFlBQUEsRUFBQSxHQUFBIn0=
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.
No description provided.