cloudfour / cloudfour/code-transform-sandbox
Transformer Request: Babel
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 6 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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)?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.