Skip to content

V2.0 Roadmap #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 of 24 tasks
XGHeaven opened this issue Oct 29, 2024 · 0 comments
Open
6 of 24 tasks

V2.0 Roadmap #663

XGHeaven opened this issue Oct 29, 2024 · 0 comments
Milestone

Comments

@XGHeaven
Copy link
Collaborator

XGHeaven commented Oct 29, 2024

V2.0 将在 next 分支开发

Features:

  • 升级 Rollup V4 以及相关依赖 feat: upgrade rollup to v4 #664
  • 支持监听配置文件然后自动重启构建服务
  • 支持并行编译
  • 优化 transform/bundle 性能
  • 实验性接入 Rolldown
  • 插件支持直接传入对象
  • 将类型声明分离出来,作为独立的构建任务 feat: add individual declaration task #666
    • declaration 作为配置项,支持 boolean | DeclarationUserConfig,向前兼容 truefalse
    • 统一产出到 typings 目录下。
    • 支持配置生成引擎,包括但不限于 tsc、api-extractor、oxc-transform
  • monorepo 的 watch 能力 #324 更好的 Monorepo 支持
  • 全新的 format 能力。新增 module:language 语法支持同时设置模块和语言,例如 esm:es2017。支持插件设置自定义的 format,避免插件魔改现有 format 的产物和结果 feat: support custom format #671
  • bundle.externals 支持 RegExp 和 string 配置 feat: external support RegExp and not external sub path of package #673
  • 支持配置 inline @swc/helpers,方便更多场景使用
  • 支持选择特定任务启动,例如只启动 transform 或者 bundle 中的某个 formats
  • 更好的多系统支持,例如 Windows

Break Change:

Test:

  • 提供完备的测试,优化 map 可能不一致的问题

其他 issue 可以查看 v2.0 milestone

@XGHeaven XGHeaven pinned this issue Oct 29, 2024
@XGHeaven XGHeaven added this to the v2.0 milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant