Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"vitest": "^3.0.8",
"zx": "^8.4.1"
},
"packageManager": "pnpm@10.4.1",
"packageManager": "pnpm@10.6.2",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=10.0.0"
Expand Down
4 changes: 2 additions & 2 deletions website/docs/en/guide/basic/output-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

So first let's understand bundle and bundleless.

A bundle is a package of build artifacts, which may be a single file or multiple files based on a certain [code splitting strategy](https://esbuild.github.io/api/#splitting).
Bundle refers to the process of packaging the build outputs, which may be a single file or multiple files based on a certain [code splitting strategy](https://esbuild.github.io/api/#splitting).

bundleless, on the other hand, means that each source file is compiled and built separately, but not bundled together. Each output file can be found with its corresponding source code file. The process of bundleless build can also be understood as the process of code conversion of source files only.
Bundleless, on the other hand, means that each source file is compiled and built separately, but not bundled together. Each output file can be found with its corresponding source code file. The process of bundleless build can also be understood as the process of code transformation of source files only.

![rslib-bundleless-mode](https://assets.rspack.dev/rslib/rslib-bundleless-mode.png)

Expand Down
2 changes: 1 addition & 1 deletion website/docs/en/guide/faq/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### How to skip the preprocessing of Less / Sass files in bundleless mode?

Bundleless means that each source file is compiled and built separately, which can be understood as the process of code conversion of source files only. To skip the preprocessing of `.less/.scss` files, you need to:
Bundleless means that each source file is compiled and built separately, which can be understood as the process of code transformation of source files only. To skip the preprocessing of `.less/.scss` files, you need to:

1. Set `source.entry` to remove `.less/.scss` files from the entry.
2. Set `output.copy` to copy `.less/.scss` files to the output directory.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en/guide/start/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CJS stands for [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-m

## Bundleless

Bundleless refers to a development mode that departs from the traditional practice of bundling multiple JavaScript / TypeScript files into a single or few output files that are then served to the app. Instead, it transforms each file.
Bundleless means that each source file is compiled and built separately, but not bundled together. Each output file can be found with its corresponding source code file. The process of bundleless build can also be understood as the process of code transformation of source files only.

## Module Federation

Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/guide/basic/output-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

所谓 bundle 是指对构建产物进行打包,构建产物可能是一个文件,也有可能是基于一定的 [代码拆分策略](https://esbuild.github.io/api/#splitting) 得到的多个文件。

而 bundleless,则是指对每个源文件单独进行编译构建,但是并不将它们打包在一起。每一个产物文件都可以找到与之相对应的源码文件。bundleless 构建的过程,也可以理解为仅对源文件进行代码转换的过程。
而 bundleless,则是指对每个源文件单独进行编译构建,但是并不将它们打包在一起。每一个产物文件都可以找到与之相对应的源码文件。Bundleless 构建的过程,也可以理解为仅对源文件进行代码转换的过程。

![rslib-bundleless-mode](https://assets.rspack.dev/rslib/rslib-bundleless-mode.png)

Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/guide/start/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CJS 代表 [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-modul

## Bundleless

Bundleless 是指一种开发模式,它与将多个 JavaScript/TypeScript 文件 bundle 到单个或很少的输出文件中,然后再将其提供给应用的传统做法不同。相反,它为每个文件都进行 transform 转译
Bundleless 是指对每个源文件单独进行编译构建,但是并不将它们打包在一起。每一个产物文件都可以找到与之相对应的源码文件。Bundleless 构建的过程,也可以理解为仅对源文件进行代码转换的过程

## 模块联邦

Expand Down
Loading