Skip to content

Commit 6c11330

Browse files
committed
chore: update
1 parent 8a85f5d commit 6c11330

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/iife/index.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ test('iife', async () => {
1515

1616
globalThis.globalHelper = { helperName: 'HELPER_NAME' };
1717
require(entryFiles.iife);
18-
console.log(globalThis.globalHelper);
1918
expect(globalThis.addPrefix('ok')).toBe('production: HELPER_NAMEok');
2019
delete process.env.NODE_ENV;
2120
delete globalThis.globalHelper;

website/docs/en/config/lib/format.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ See [Output Format](/guide/basic/output-format) and [Module Federation](/guide/a
1616

1717
::: note
1818

19-
The `umd` and `iife` formats only work when [bundle](/config/lib/bundle) is set to `true`.
19+
The `umd`, `mf` and `iife` formats only work when [bundle](/config/lib/bundle) is set to `true`.
2020

2121
:::

website/docs/zh/config/lib/format.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
更多详情请参考 [输出格式](/guide/basic/output-format)[模块联邦](/guide/advanced/module-federation)
1616

1717
::: note
18-
`umd` `iife` 格式仅在 [bundle](/config/lib/bundle) 设置为 `true` 时有效。
18+
`umd``mf` 以及 `iife` 格式仅在 [bundle](/config/lib/bundle) 设置为 `true` 时有效。
1919
:::

0 commit comments

Comments
 (0)