File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4
4
// can run on outdated platforms and with outdated applications
5
5
declare module 'core-js' ;
6
6
// Regenerator runtime provides runtime support for compiled/transpiled async functions.
7
-
7
+ // Like babel that compiles modern js into older js,
8
+ // async functions are also compiled to run on engines that don't support async.
9
+ // After babel does the syntax transformation or transpiles the async functions,
10
+ // the resulting code uses regen runtime to run
11
+ // https://stackoverflow.com/questions/65378542/what-is-regenerator-runtime-npm-package-used-for
8
12
declare module 'regenerator-runtime/runtime' ;
13
+ // Acorn is a jsx parser that was experimental to be faster than than the react.js jsx parser,
14
+ // however is not maintained at this time, last update was more than one year ago 10-5-21
9
15
declare module 'acorn-jsx' ;
16
+ // Traspiler to traspile code to JSX AST but to use with regular es5 compliant js,
17
+ // still needs babel and buble trasnpilers which use acorn-jsx under the hood
10
18
declare module 'acorn' ;
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-plusplus */
2
2
/* eslint-disable max-len */
3
3
/* eslint-disable @typescript-eslint/ban-types */
4
- // import 'core-js';
5
4
/* eslint-disable no-multiple-empty-lines */
6
5
/* eslint-disable max-classes-per-file */
7
6
/* eslint-disable no-console */
You can’t perform that action at this time.
0 commit comments