diff --git a/package.json b/package.json index 76a130d2c..3eebf55be 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/website/docs/en/guide/basic/output-structure.mdx b/website/docs/en/guide/basic/output-structure.mdx index d951ccc76..c1c42c75b 100644 --- a/website/docs/en/guide/basic/output-structure.mdx +++ b/website/docs/en/guide/basic/output-structure.mdx @@ -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) diff --git a/website/docs/en/guide/faq/features.mdx b/website/docs/en/guide/faq/features.mdx index 1c9065d22..124e2655a 100644 --- a/website/docs/en/guide/faq/features.mdx +++ b/website/docs/en/guide/faq/features.mdx @@ -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. diff --git a/website/docs/en/guide/start/glossary.mdx b/website/docs/en/guide/start/glossary.mdx index ae24a2372..c66c75ac5 100644 --- a/website/docs/en/guide/start/glossary.mdx +++ b/website/docs/en/guide/start/glossary.mdx @@ -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 diff --git a/website/docs/zh/guide/basic/output-structure.mdx b/website/docs/zh/guide/basic/output-structure.mdx index 639fd84ab..084201e0e 100644 --- a/website/docs/zh/guide/basic/output-structure.mdx +++ b/website/docs/zh/guide/basic/output-structure.mdx @@ -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) diff --git a/website/docs/zh/guide/start/glossary.mdx b/website/docs/zh/guide/start/glossary.mdx index 37723beb8..6fb95a026 100644 --- a/website/docs/zh/guide/start/glossary.mdx +++ b/website/docs/zh/guide/start/glossary.mdx @@ -19,7 +19,7 @@ CJS 代表 [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-modul ## Bundleless -Bundleless 是指一种开发模式,它与将多个 JavaScript/TypeScript 文件 bundle 到单个或很少的输出文件中,然后再将其提供给应用的传统做法不同。相反,它为每个文件都进行 transform 转译。 +Bundleless 是指对每个源文件单独进行编译构建,但是并不将它们打包在一起。每一个产物文件都可以找到与之相对应的源码文件。Bundleless 构建的过程,也可以理解为仅对源文件进行代码转换的过程。 ## 模块联邦