Skip to content

Commit 33179ef

Browse files
authored
Merge pull request #183 from rollup/patch-1
docs: format
2 parents da7bf75 + 01d0dab commit 33179ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/configuration-options/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,6 @@ import('external2').then(console.log);
13561356
```
13571357

13581358
- `"defaultOnly"``"default"` 类似,但有以下几点区别:
1359-
13601359
- 禁止命名引入。如果遇到这样的引入,Rollup 会抛出一个错误,即使是 `es``system` 格式。这样可以确保 `es` 版本的代码能够正确引入 Node 中的非内置 CommonJS 模块。
13611360
- 虽然命名空间内再次输出 `export * from 'external';` 不被禁止,但会被忽略掉,并且会导致 Rollup 抛出警告,因为如果没有命名的输出,它们并不会产生影响。
13621361
- 当一个命名空间对象生成时,Rollup 将会使用一个更简单的辅助函数。

0 commit comments

Comments
 (0)