cloudfour / cloudfour/code-transform-sandbox

Transformer Request: Babel

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Transformer Request
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
6m
PR unite (30g)
1

Descrizione

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)?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.