-
Notifications
You must be signed in to change notification settings - Fork 57
feat(posts): add blog post on swc migration #479
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
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
yfrommelt
left a comment
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.
👏 praise: Very well written! Love this article :)
fdubost
left a comment
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.
👏 Very nice post, very clear and easy to read!
|
|
||
| Ever since websites started being made essentially from Javascript, transpiling this code to run in the largest number of different browsers has been an essential step in the build process. From the very beginning, more than ten years ago, the BedrockStreaming web application has relied on [Babel](https://babeljs.io/) for this task. This year we migrated from Babel to its next gen replacement, [SWC](https://swc.rs/). It was not a smooth ride all the way, so let’s see what challenges we’ve had to overcome, and if the payoff was worth the effort ! | ||
|
|
||
| <br /> |
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.
Weird to not use the "default" spacing from the blog templating 👀
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.
I find that the default spacing is too narrow and that it doesn't look very "airy" 👀
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.
(to be fair, I often do the exact same thing on my own personal blog 😅)
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.
I understand, but it is not the "good" way to do it IMO: if you're not confortable with the current blogpost templating, then you should propose an update of the whole templating. Otherwise it breaks the design consistency of the blog. Moreover, if we migrate to another blog template one day (hope we will merge #457 one day @jpoissonnet 😅), we will inherit for this non-consistent spacing...
|
|
||
| Ever since websites started being made essentially from Javascript, transpiling this code to run in the largest number of different browsers has been an essential step in the build process. From the very beginning, more than ten years ago, the BedrockStreaming web application has relied on [Babel](https://babeljs.io/) for this task. This year we migrated from Babel to its next gen replacement, [SWC](https://swc.rs/). It was not a smooth ride all the way, so let’s see what challenges we’ve had to overcome, and if the payoff was worth the effort ! | ||
|
|
||
| <br /> |
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.
(to be fair, I often do the exact same thing on my own personal blog 😅)
👋🏼 Add a new article about the migration from Babel to SWC on the web project
Publication date will be modified just before merging 😊