cloudfour / cloudfour/code-transform-sandbox

Transformer Request: Babel

未关闭
#35 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Transformer Request
主要语言
TypeScript
星标
1
派生
0
平均合并
6 分钟
30 天内合并 PR
1

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

没有指定文件或测试;首先查看仓库的入口点以及 issue 中链接的 Babel 文档。围绕解析选项、列出的三个插件、延迟加载和已提交到仓库的压缩构建来定义 MVP;将“Eventually”项目视为超出范围。

由索引模型根据 Issue 内容生成。

评估

技术栈
babel, typescript
领域
tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。