DEV Community

Cover image for 🔥🔥🔥  Introducing ESBuild, compiling is straight up fast!!!

🔥🔥🔥 Introducing ESBuild, compiling is straight up fast!!!

liu-jin-yi on November 05, 2021

The current hands of the project hot update is getting slower and slower, so there is the emergence of this piece of article, this is a tutorial ar...
Collapse
 
hilleer profile image
Daniel Hillmann

You mention you install a specific version of a dependency, because you're running an earlier version of node than is required. Why don't you use nvm to use different versions of node? (And easily bump to more recent versions)

Collapse
 
liujinyi profile image
liu-jin-yi

I don't use nvm because our projects are relatively new and I don't want to download packages on my computer that I don't use very often. Thanks for your message!

Collapse
 
sixman9 profile image
Richard Joseph

'tj/n' is an NVM-like Node version manager, I find it easier to use, personally.

Collapse
 
raibtoffoletto profile image
Raí B. Toffoletto

I'm sorry but I'm completely lost on what is your point with this... You say "Introducing ESBuild"... but you never introduce it, by this article I can only guess it is like webpak... but you don't explain what the project is, what is for and what problem does it solve. Also What company are you talking about? Yours? Please revise the text with someone 😉

Collapse
 
liujinyi profile image
liu-jin-yi • Edited

First of all this article is my original, I published it half a month ago on the top of the Chinese website, DEV community's is my translation!
I think I have made it clear in the article that this article is used to solve the problem of slow HMR in our old company project.
As for your comment that my article wants to webpack, I don't dare to agree with it, I just introduce how to introduce esbuild in the project to enhance the experience in the development environment!

If you want to learn esbuild you can read the official documentation, it's clearer than me!

Collapse
 
liujinyi profile image
liu-jin-yi

Still, thanks for the suggestion!

Collapse
 
moosmas profile image
Sam Brands

What theme are you using for Visual Studio Code? And is the syntax theme included? It looks really good!

Collapse
 
liujinyi profile image
liu-jin-yi

vscode-icons
One Dark Pro
Dracula Official

Collapse
 
abodactyl profile image
Abby Redwood

Looks like Tomorrow Night Blue to me - don't quote me on that though :)

Collapse
 
malloc007 profile image
Ryota Murakami

Interesting!
But why not just use Vite?

Collapse
 
liujinyi profile image
liu-jin-yi

I know what you mean, it's easy to use vite! I think so too. But I still want to implement it all by myself.