Skip to content

Commit 82433b9

Browse files
authored
docs: update output format description to include IIFE (#1038)
1 parent 67aea1b commit 82433b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/guide/basic/output-format.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import MF from '../../shared/components/MF.mdx';
55

66
# Output format
77

8-
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.
8+
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.
99

1010
## ESM / CJS
1111

website/docs/zh/guide/basic/output-format.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import MF from '../../shared/components/MF.mdx';
55

66
# 产物输出格式
77

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

1010
## ESM / CJS
1111

0 commit comments

Comments
 (0)