Skip to content

Commit 9388b33

Browse files
authored
Update intro.md
1 parent 9b210c0 commit 9388b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ import 'core-js';
242242
import 'regenerator-runtime/runtime';
243243
// 或者
244244
require('core-js');
245-
require('regenerator-runtime/runtime);
245+
require('regenerator-runtime/runtime');
246246
```
247247

248248
Babel 默认不转码的 API 非常多,详细清单可以查看`babel-plugin-transform-runtime`模块的[definitions.js](https://github.com/babel/babel/blob/master/packages/babel-plugin-transform-runtime/src/runtime-corejs3-definitions.js)文件。

0 commit comments

Comments
 (0)