Front-end build tool Vite.js speeds up development

by Chase Adams on Jul 25, 2022 Health & Fitness 477 Views

Vite.js, a free and open source JavaScript development server and bundler, is designed to speed up large-scale, modern web browser projects with native ECMAScript modules in the browser and JavaScript tools written in compile-to-native languages.

Vite 3.0, the latest major update to the front-end build tool, is now available and includes several improvements for developers, such as a better command-line interface, a server port change to avoid incompatibility with other tools and a new default connection scheme that makes Vite.js work out of the box in most situations.

The Vite team plans a major release at least every year to align with major Node.js versions, according to the Vite.js website. In addition, Vite makes frequent incremental updates; more content might be released as soon as this upcoming week, according to Vite core team member Matias Capeletto, more commonly known as Patak.

"Vite comes at the right time," said Andrew Cornwall, senior analyst at Forrester Research. While Webpack, an open source JavaScript module bundler released in 2012, had to support a range of modules, Vite is focused only on ECMAScript (ES) modules, which separate code into independent building blocks and are now the standard for modern web browsers, he said.

That doesn't mean Vite is independent of older web packing technologies -- it uses Rollup.js under the hood -- but it can hide some complexity for day-to-day operations, Cornwall said.

Vite.js takes on the competition

Vite.js is speedy compared with other front-end tools like Vue, a JavaScript framework built by the same team as Vite and released in 2014, making Vite.js a good choice for fast bootstrapping and easy configuration, said Sergio Gutiérrez Villalba, CTO of Internxt, a cloud storage startup. Changes on the development server are instant, which means developers can see changes without reloading the webpage or clearing the state, he said.

Another competitor, Snowpack, which had similar module support and technology, ended support in April this year -- mostly due to burnout rather than any technical reason, Cornwall said. Many Snowpack developers have moved over to Vite, and people who stumble upon Snowpack are being directed by its website to Vite.js, which is similar enough to be a drop-in replacement, he added.

Some developers will continue to use Webpack, because code that relies on old-style modules such as CommonJS or AMD still exists, Cornwall said. But ES modules are probably the future of modules in JavaScript, which means Vite.js can succeed without having to support older technologies, he said.

Original Source

Article source: https://article-realm.com/article/Health-Fitness/25378-Front-end-build-tool-Vite-js-speeds-up-development.html

Comments

No comments have been left here yet. Be the first who will do it.
Safety

captchaPlease input letters you see on the image.
Click on image to redraw.

Reviews

Guest

Overall Rating:

Statistics

Members
Members: 16984
Publishing
Articles: 79,275
Categories: 202
Online
Active Users: 2582
Members: 15
Guests: 2567
Bots: 34431
Visits last 24h (live): 5009
Visits last 24h (bots): 71904

Latest Comments

Excellent information providing by your Article thank you for taking the time to share with us such a nice article. Jack    
I once spent weeks meticulously documenting a software concept, fearing any oversight might jeopardize future protection, only to find the process even more daunting when a potential investor...
on Sep 3, 2026 about How to Start an Invention Idea
Opting for a Vip Escort Delhi professional is a commitment to a premium, secure, and discreet lifestyle. Their unwavering focus on your desires, set within a private and comfortable...
I really enjoyed exploring Article Realm because it covers a variety of useful topics for people interested in building an online presence. This article especially highlights how SEO, keywords,...
on Sep 1, 2026 about The Latest Online Business
I like the focus on identifying specific gains from personal content marketing because it makes the strategy feel more purposeful than simply posting regularly and hoping something sticks. In my...
I also liked the point about low-traffic websites. AI may identify behavioral patterns faster, but when the sample size is too small, the test results can still be unreliable. A tool can speed up...
The article also made me think about something that's easy to overlook: backlinks should ultimately provide value to real users. If a link has no real context and exists only to increase the...
FNAF Game is one of those games that can make even a quiet room feel terrifying. I really enjoy how the game builds tension slowly instead of relying only on sudden scares. Watching the cameras,...
Deadshot IO is a really enjoyable FPS experience for players who like fast combat and competitive gameplay.
It is the easiest and fastest way to monetize a website. All you need to do is sign up and install the plugin, after which you can decide how many ads to display and how much revenue to generate....

Translate To: