ant-design / ant-design/antd-tools

Should stop transpiling to wrong default export syntax

Open
#71 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
406
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Related:
https://github.com/ant-design/ant-design/issues/11263
https://github.com/babel/babel/issues/2212

Should stop using babel-plugin-add-module-exports
Should stop transpiling to wrong module syntax

Should use babel-plugin-add-module-exports@next and turn on addDefaultProperty option.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the transpilation configuration in antd-tools and reviewing the linked Ant Design and Babel issues for the expected module syntax. Check how babel-plugin-add-module-exports is currently used, then verify that the next version and addDefaultProperty option produce the intended default export behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, typescript
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.