当前位置:首页 > 数码 > 由尤雨溪强力主导-前端格局动荡!Vue团队开源Rust驱动的闪电般JS打包工具 (尤雨溪在哪)

由尤雨溪强力主导-前端格局动荡!Vue团队开源Rust驱动的闪电般JS打包工具 (尤雨溪在哪)

admin1年前 (2024-04-14)数码138

Introduction

The Vue team has officially open-sourced Rolldown, a Rust-based bundling tool. Rolldown is a Rollup alternative that provides a Rollup-compatible API and plugin interface, but with a feature scope more similar to esbuild. According to the official documentation, Rolldown is specifically intended as a future bundler for Vite. Vue

Background

Vite currently relies on two bundlers: - Vite for development - Rollup for production However, there are significant drawbacks to using two different bundlers: - Inconsistent behavior - Incompatible plugin ecosystems - Difficult to keep in sync Thus, the development team wanted Vite to integrate a single bundler that provides: - Native-level performance - Built-in transforms that avoid parsing/serializing overhead - A Rollup-compatible plugin interface - Advanced build output control suitable for large-scale applications This is where Rolldown comes in.

Features

Rolldown is written in Rust and built on top of Oxc, currently using its parser. The team also plans to integrate Oxc's transformer and minifier when they become available. Rolldown aims to offer several key features: - Performance: Built-in transforms provide significant performance improvements over Rollup. - Flexibility: Rollup-compatible plugin interface allows for easy extension. - Compatibility: Supports most popular Rollup plugins, facilitating a smooth transition. - Interoperability: Designed to work seamlessly with Vite and other bundlers.

Roadmap

The team's long-term goal is to enable Vite users (directly or via frameworks) to transition to a version of Vite that uses Rolldown internally with minimal cost. In the meantime, Rolldown will also be available as a standalone bundler for directuse.

Team

The Rolldown website lists four team members, currently led by Evan You, the creator of Vue and Vite.

Conclusion

Rolldown is a promising new bundler that addresses several pain points faced by developers using Vite. It offers native-level performance, a Rollup-compatible plugin interface, and advanced build output control. As it is still in development, some features may not be fully available yet, but the team's roadmap suggests that Rolldown has a bright future as both a standalone bundler and a core component of Vite.

Related Links

- [Rolldown Official Website](- [GitHub: rolldown-rs/rolldown](

fortran有哪些论坛

fortran的论坛,是按以下分类的:编程语言,其编程语言有:JavaC/C++Objective-CPHPPerlPythonRubyC# GoD语言GroovyScalaJavaScriptHTML/CSSActionScriptVBScriptDelphi/PascalBasicErLangCOBOLFortranLuaSHELLSmalltalkSliverlightLispSwiftValaRustHackDart程序开发,有以下五个方面:报表/图表制作高性能网络开发库图形/图像处理数学计算协议和规范开发工具,有三个方面:C/C++开发工具性能测试和优化编译器企业应用:教学科研相关应用工具:科研计算工具其他开源:NASA 开源项目开源软件分类导航 - 开源中国社区

RUST新版抄家会回血是什么情况?

有的回不上来要铁斧

免责声明:本文转载或采集自网络,版权归原作者所有。本网站刊发此文旨在传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及版权、内容等问题,请联系本网,我们将在第一时间删除。同时,本网站不对所刊发内容的准确性、真实性、完整性、及时性、原创性等进行保证,请读者仅作参考,并请自行核实相关内容。对于因使用或依赖本文内容所产生的任何直接或间接损失,本网站不承担任何责任。

标签: Vue

“由尤雨溪强力主导-前端格局动荡!Vue团队开源Rust驱动的闪电般JS打包工具 (尤雨溪在哪)” 的相关文章

b-b-耍流氓-CSS的正当性-的误会-冲破-Vue中Tailwind

b-b-耍流氓-CSS的正当性-的误会-冲破-Vue中Tailwind

前言 随着前端的开展,对前端页面的要求越来越高,而的配置也越来越弱小,但关于写css样式来说却是十分头疼的的事。由于前端页面的动画要求以及页面规划的精细管控,须要写少量的css。为了处置写c...

浅析其架构与原理-MVVM在Vue2中的实现 (架构的理解)

浅析其架构与原理-MVVM在Vue2中的实现 (架构的理解)

简介 Vue.js 是一款用于构建用户界面的渐进式 JavaScript 框架。它由尤雨溪在 2014 年推出,并迅速成为最流行的前端框架之一。 Vue.js 的设计目标是通过简单、灵...

模型的强大表单生成器-简化您的表单创建流程-基于-Vue (模型的强大表现在哪里)
样式的七个令人惊叹的机密技巧-助你优化样式程度-Vue (样式有哪些?)

样式的七个令人惊叹的机密技巧-助你优化样式程度-Vue (样式有哪些?)

单文件组件由三个不同的实体组成:模板、脚本和样式。一切这些都很关键,但后者往往被漠视,虽然它或许会变得复杂,并经常造成曲折和失误。更好地理解可以改良代码审查并缩小调试期间。 这里有7个小贴士...

WeakMap-Vue-性能显著优化-得益于-颁布-3.3.6 (weakman反义词)

WeakMap-Vue-性能显著优化-得益于-颁布-3.3.6 (weakman反义词)

其中一个失掉改良的是在或者的状况下从Maps和Sets转移到WeakMaps和WeakSets。 那是什么,为什么这么关键? 假设你在Maps或Sets中存储物品,你会对这些物品做一个...

优化应用程序性能的利器-Vue性能标记 (优化应用程序是什么意思)

优化应用程序性能的利器-Vue性能标记 (优化应用程序是什么意思)

在构建高性能应用程序时,追踪性能瓶颈非常重要。Vue提供了一个特殊的功能,可以在ChromeDevTools中启用性能标记,帮助我们更好地优化应用程序的性能。 如何启用性能标记...

如何成功Element-Popover的动静定位-Plus-UI中的El-Vue3疑问 (如何成功开到抑郁证明)

如何成功Element-Popover的动静定位-Plus-UI中的El-Vue3疑问 (如何成功开到抑郁证明)

一、需求剖析,疑问形容 1、需求 一个表格,分表头、表体、表尾三局部。 当每个单元格的内容过长超出时,须要省略,用省略号替代超出的局部。 同时,当鼠标移入上去时,会在上方弹...