parcel README

项目的 README,来自 github.com/parcel-bundler/parcel。合并为一个 markdown 文件:README.md。

Parcel

Backers on Open Collective Sponsors on Open Collective npm package npm package Discord Twitter Follow

NOTE: This is Parcel v3 (currently in alpha). For v2, see the v2 branch.

Parcel is a batteries-included build tool for the web. It combines a great out-of-the-box development experience with a scalable architecture that can take your project from just getting started to massive production application.

Features

Getting Started

See the following guides in our documentation on how to get started with Parcel.

Documentation

Read the docs at https://v3.parceljs.org/docs/.

Community

Contributors

This project exists thanks to all the people who contribute. [Contribute]. contributors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

parcel (parcel-bundler/parcel)

正在搜索数据库…

这是什么?Parcel 是一款面向 Web 的零配置构建工具:无需配置文件即可上手,能将 JavaScript、CSS、HTML 及其他资源打包、编译为经过优化的输出文件。
这是单一工具,还是把一堆包拼在一起?Parcel 采用 monorepo 结构,由众多包(核心、转换器、报告器、解析器等)组成,并使用 Lerna 进行管理;但使用者只需将其作为一个名为 parcel 的 CLI/开发依赖来使用。
我该如何在项目中让它跑起来?使用 yarn add --dev parcel 或 npm install -D parcel 将其安装为开发依赖,然后指定一个入口文件:开发模式下运行 parcel index.html,生产构建则运行 parcel build index.html。
我需要特定版本的 Node.js 吗?需要。Parcel 的 package.json 要求 Node.js 版本不低于 16.0.0 才能运行。
不安装任何东西,能先试试 Parcel 吗?可以。项目构建了一个 REPL(@parcel/repl),使用其原生 Rust 代码的 WebAssembly 版本,让你直接在浏览器中体验打包。
Parcel 底层只是 JavaScript 吗?不是。除了 JS/TypeScript 包之外,Parcel 还包含原生 Rust 代码:这些代码会被编译为原生二进制文件,打包器中对性能要求高的部分还会被编译为 WebAssembly。
Parcel 只处理 JavaScript 包吗?不是。它涵盖的主题和工具链包括 JavaScript、CSS、HTML、ES6 和 CommonJS 模块,并将它们全部视为一等资源,均可打包和编译。
有哪些类似的项目?webpack, browserify, esbuild, oxc, rspack, lodash, ondine, qiankun
大小
68.7 MB
星标
44K
时长
9年
提交 · 90 天