Web development: Parcel 2.0 brings a new plug-in system – Market Research Telecast

Version 2.0 of the Parcel web build tool has been released. It is open source available, with “Zero Configuration” to simplify web development and also be suitable for larger applications. Supported web technologies include JavaScript, TypeScript, HTML and CSS. The target platform can be selected as desired.

Parcel is already being used by Adobe, Atlassian and Microsoft. For example, build parts the Microsoft documentation pages on it.

To improve performance, version 2.0 has a new JavaScript compiler written in Rust. In addition, the Parcel team worked on a further parallelization of the architecture so that it should now be able to use all CPU cores more efficiently.

A new plug-in system enables Parcel 2.0 to be fully expandable, which, according to the development team, should enable the scaling of small side projects up to large productive applications with complex requirements.

Tree Shaking is activated by default in Parcel 2.0 and runs with ES Modules, CommonJS, dynamic imports and CSS modules. The new release also comes with the CLI option --log-level verbose for debugging. It is supposed to show detailed information in the terminal in case the tree shaking does not work as expected.

Parcel 2.0: A new CLI option shows additional information to reveal tree shaking errors.

(Image: Parcel)

The added full SVG support also offers new possibilities in version 2.0. Among other things, tags such as <image> and <use> use referenced external dependencies as well as scripts and styles.

More information about Parcel 2.0 offer the release notes as the associated GitHub repository. In addition to the new major version of the MIT-licensed tool, there is also a brand new website ready.


(May)

Article Source

Disclaimer: This article is generated from the feed and not edited by our team.



from WordPress https://ift.tt/3j7WLGl
via IFTTT

Post a Comment

0 Comments