| 113 | ]); |
| 114 | |
| 115 | const getJSTranspiler = loopProtectOptions => async challengeFile => { |
| 116 | await loadBabel(); |
| 117 | await loadPresetEnv(); |
| 118 | const babelOptions = getBabelOptions(presetsJS, loopProtectOptions); |
| 119 | return transformContents(babelTransformCode(babelOptions), challengeFile); |
| 120 | }; |
| 121 | |
| 122 | const getJSXTranspiler = loopProtectOptions => async challengeFile => { |
| 123 | await loadBabel(); |
no test coverage detected