ts-plugin / ts-plugin/ts-import-plugin
Add support for `export { sth } from 'lib'` case
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 603
- Forks
- 36
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
I'm trying to pack a subset of antd using this plugin with rollup, and here's my code in the entry:
export { Button } from 'antd'
and no css file is emitted. I have to change my code as below to make it work :
import { Button } from 'antd'
export { Button }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the plugin processes the entry form export { Button } from 'antd' and compare it with the working import-then-export form shown in the issue. The work is done when the re-export syntax causes the expected CSS file to be emitted for the packed antd subset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100