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 44// can run on outdated platforms and with outdated applications
55declare module 'core-js' ;
66// 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
812declare 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
915declare 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
1018declare module 'acorn' ;
Original file line number Diff line number Diff line change 11/* eslint-disable no-plusplus */
22/* eslint-disable max-len */
33/* eslint-disable @typescript-eslint/ban-types */
4- // import 'core-js';
54/* eslint-disable no-multiple-empty-lines */
65/* eslint-disable max-classes-per-file */
76/* eslint-disable no-console */
You can’t perform that action at this time.
0 commit comments