You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ import 'core-js';
242
242
import'regenerator-runtime/runtime';
243
243
// 或者
244
244
require('core-js');
245
-
require('regenerator-runtime/runtime);
245
+
require('regenerator-runtime/runtime');
246
246
```
247
247
248
248
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