cloudfour / cloudfour/code-transform-sandbox

Transformer Request: Babel

Abierto
#35 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Transformer Request
Lenguaje dominante
TypeScript
Estrellas
1
Forks
0
Merge medio
6 min
PR fusionados (30 d)
1

Descripción

https://babeljs.io/

MVP:
- Parse/transform with babel
- Allow setting up parsing options to TS, flow, JSX, etc. can be parsed
- Allow using any of the pre-chosen plugins and configure them:
- `@babel/plugin-transform-react-jsx`
- `@babel/plugin-transform-typescript`
- `@babel/plugin-transform-flow-strip-types`
- When you use a plugin it should be lazily loaded
- The pre-chosen plugins should be loaded as minified, pre-built files. These files should be stored in the repo because most of the time it does not make sense to re-build them.

Eventually:
- Load any babel plugin from npm, build them in the browser and cache in SW?
- Write custom babel plugins within code-transform-sandbox (like ASTExplorer)?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.