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 website/docs/en/guide/basic/output-format.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import MF from '../../shared/components/MF.mdx';

# Output format

There are four supported output formats for the generated JavaScript files in Rslib: `esm`, `cjs`, `umd`, and `mf`. In this chapter, we will introduce the differences between these formats and how to choose the right one for your library.
There are multiple supported output formats for the generated JavaScript files in Rslib: [ESM](#esm--cjs), [CJS](#esm--cjs), [UMD](#umd), [MF](#mf), and [IIFE](#iife). In this chapter, we will introduce the differences between these formats and how to choose the right one for your library.

## ESM / CJS

Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/guide/basic/output-format.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import MF from '../../shared/components/MF.mdx';

# 产物输出格式

Rslib 支持四种 JavaScript 文件的输出格式:`esm`、`cjs`、`umd``mf`。在本章中,我们将介绍这些格式之间的区别以及如何为你的库选择合适的格式。
Rslib 支持多种 JavaScript 文件的输出格式:[ESM](#esm--cjs)、[CJS](#esm--cjs)、[UMD](#umd)、[MF](#mf)[IIFE](#iife)。在本章中,我们将介绍这些格式之间的区别以及如何为你的库选择合适的格式。

## ESM / CJS

Expand Down
Loading